Error when run "helloandroid"

by angger jatra » Sun, 14 Sep 2008 21:23:23 GMT


Sponsored Links
 when i run hello android like on
 http://code.google.com/android/intro/hello-android.html , my eclipse
show error like this :
                   Tag <activity> missing required attribute name.      

and on AndroidManifest.xml there is an error on line :
                  <activity class=".helloandroid"
android:label="@string/app_name">



can u help me to fix this ?

thanks before :)

--~--~---------~--~----~------------~-------~--~----~



Error when run "helloandroid"

by Megha Joshi » Mon, 15 Sep 2008 17:05:33 GMT


 2008/9/14 angger jatra <[EMAIL PROTECTED]>



change "class" to "android:name" as shown below:
<activity android:name =".helloandroid" android:label="@string/app_name">



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Guide me to learn about Android

Hi
I want to learn more about android and porting it to a new device. I
have good understanding of linux rootfs, crosscompiling, kernel,
openembedded, and little bit on hardware. I have a beagleboard to
which i want to port android.
I know that many people have already ported android to this board. I
don't want to just compile and run on the board, I wanted to know
whats happening inside. So i started by looking here "http://
source.android.com/porting/index.html" and was able to build a rootfs
with alsa support, with the following settings in BoardConfig.mk
"TARGET_BOARD_PLATFORM := omap3
TARGET_CPU_ABI := armeabi
TARGET_ARCH_VARIANT := armv7-a
TARGET_NO_KERNEL := true
TARGET_NO_BOOTLOADER := true
BOARD_USES_ALSA_AUDIO := true
BUILD_WITH_ALSA_UTILS := true
USE_CAMERA_STUB := true"
and adding the following in source/.repo/local_manifest.xml
"<manifest>
<project path="external/alsa-lib" name="platform/external/alsa-lib"/>
<project path="external/alsa-utils" name="platform/external/alsa-
utils"/>
<project path="hardware/alsa_sound" name="platform/hardware/
alsa_sound"/>
</manifest>
"
I haven't yet tested this image yet. I hope it works with minimum
tweeks :).

Now coming to kernel porting, which has been very very confusing for
me :(. When I had a look at the git tree of android there are "kernel/
common.git and kernel/omap.git" branches. I am a little confused here,
is kernel/omap.git a omap kernel with android specific patches already
applied or just a mirror of omap kernel from somewhere?(if so from
where?).

Also i came to know about "git format-patch v2.6.*" command which
extracts the android patches applied to the standard v2.6.* kernel. So
i was thinking of extracting the complete set of patches applied to
the v2.6.32-rc8 using the below commands
$ git checkout -b android-2.6.32 origin/android-2.6.32  # now i am in
2.6.32
$ git format-patch v2.6.32-rc8
and then apply the android specific patches from these list to a
working 2.6.32 beagleboard kernel, but unfortunately there are about
1097 patches generated to filter :(. Is this the right way to do?

to be enabled in kernel for starting up android
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_LOW_MEMORY_KILLER=y
ANDROID_RAM_CONSOLE=y
CONFIG_ASHMEM=y
so I have to port only ashmem and android specific drivers to the
beagleboard-kernel, am i missing something?

Best Regards,
montamer

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Wifi notworking

Hey guys, luv the x86port and really want to use it on this
touchscreen Malata netbook I have.  Everything works great except the
WIFI which is a biggie.  Anyone have a clue how to load the proper
driver.  its a R73 chipset from raillink, everything else on the
machine is stanard intel atom hardware.

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Make hierarchyviewer work with android-x86

4. How to track URL in each landing page in Webview

5. parse local media file to get Mime type

6. bingung tentang ADB

7. Tmobile Native IM versi 1.1.2 worked via gprs/3G and wifi