Monday, September 13, 2010

[android-developers] Re: how to compile a helloworld in AOSP- Entire android source code..!! Couldnt see apk generated.

I am happy to hear that you generated .apk

1. If you want to generate .apk for other variants
you may write the following line in your Android.mk

LOCAL_MODULE_TAGS := user

-------------------------------------------------------------------------------
For reference :
This variable controls what build flavors the package gets included
in. For example:
user: include this in user/userdebug builds
eng: include this in eng builds
tests: the target is a testing target and makes it available for
tests
optional: don't include this
-----------------------------------------------------------------------------

2. If you want your .apk to include into system.img
you may generate .apk and then
$ mksys
this command will make system.img including all apks under /out/
target/product/generic/system/app/
I guess the system.img will be loaded on your emulator.

hopefully all your things will be done.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment