Android Launcher application compilation on Eclipse

拜拜、爱过 提交于 2019-12-11 00:46:34

问题


I am modifying the Android Home (Launcher) application and configured an eclipse project from the Android source checkout. Eclipse project shows number of errors which are about unresolved imports and unavailable flags. Upon checking in the internet at http://forum.xda-developers.com/showthread.php?p=8402045 , I found that the home application will not compile with the public SDK, but as part of the OS compilation, it is generated.

My question is how can I resolve the compilation errors in my eclipse project? Have anyone faced this public SDK and home application compilation issue?

I want to be able to build my Launcher.apk right from eclipse and run it.


回答1:


Take a look at this thread to have more informations:
http://groups.google.com/group/android-developers/browse_thread/thread/cc8f4b3de53599b7




回答2:


My question is how can I resolve the compilation errors in my eclipse project?

You don't. You can only build the Launcher application as part of the full firmware.

I want to be able to build my Launcher.apk right from eclipse and run it.

That is not possible, sorry. There is as sample Home application in your SDK that can be built from the SDK, though, if that helps.



来源:https://stackoverflow.com/questions/3837685/android-launcher-application-compilation-on-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!