1
我正在Android开源项目4.0.4上构建Superuser。我:如何让android构建系统在应用程序中嵌入annotations.jar?
- 获取的git仓库中
packages/apps
, - 在
packages/apps/Superuser
发出mm
,面临以下问题: http://pastebin.com/50vGLhH1
我读,我在Android应用程序的嵌入annotations.jar
依赖。如何用eclipse做到这一点,但无法通过aosp源代码找到我的答案。有谁知道?
这似乎这样的伎俩添加下面一行:不标注错误,但一个全新的错误:-)。谢谢! –
呃...这个全新的错误实际上是相关的: 'make:***没有规则可以让目标out/target/common/obj/JAVA_LIBRARIES/annotations_intermediates/javalib.jar',out/target/common/obj/APPS/Superuser_intermediates/classes-full-debug.jar'' –
尝试在out文件夹中找到annotations.jar,也许只有在构建sdk时才能创建annotations.jar您可以在Device.mk中添加注释PRODUCT_PACKAGES – nandeesh