Dear mani
Do you develop your application in Eclipse SDK?
If so, you need to add .jar that you want
under out\target\common\obj\JAVA_LIBRARIES\framework_intermediates\
to your Eclipse project.
I guess that com.android.internal.R.class is not include in
android.jar released by Google
You may make
Thanks Binggrae...!!
Finally .apk file is generated. !! Why is it generated of engineering
variants not for other variants...? Any idea ?
And when i restarted the emulator i couldnt see the apk picked up
automatically...!!
I need to install through adb install command.
Is it expected ?
if the
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
For your additional information.
All packages included in system.img
are written on build/target/product/generic.mk
I'm not sure.. but
You may modify generic.mk for inserting your apk
into your emulator automatically when building totally.
--
You received this message because you are
This is so informative...for naive beginners in AOSP...!!
Thanks a lot.. i will try out all these...!!
On Sep 14, 9:18 am, Binggrae bangg...@gmail.com wrote:
For your additional information.
All packages included in system.img
are written on build/target/product/generic.mk
I'm not sure..
I gotta one more question if you could assist me with that.
I couldnot find where resource files for
ex. import com.android.internal.R;
inflater.inflate(R.layout.keyguard_screen_tab_unlock, this, true);
If you see the files under
I think it' s not good to refer Launcher2's Android.mk
see here
http://source.android.com/porting/build_cookbook.html
The following is a very simple example.
You just need to change LocalPackage to Helloworld you want to
create as APK's name.
Building a simple APK
Hi Binggare thanks for the reply...!!
I changed the .mk file as below and kept my helloworld folder under /
package/apps and compiled at /
Still i couldnt see the .apk generated
in ~/mydroid/out/target/product/generic/system/app.
I couldnt see in the emulator list though...!!
Why is it so
Sorry it' not helpful..
I'm not sure the following is helpful
but recommend try it
(Maybe you've tried it already)
~/froyo$ source build/envsetup.sh
including device/htc/dream/vendorsetup.sh
including device/htc/passion/vendorsetup.sh
including device/htc/sapphire/vendorsetup.sh
~/froyo$
9 matches
Mail list logo