问题
I am building Superuser on Android Open Source Project 4.0.4. I:
- fetched the git repo in
packages/apps
, - issued
mm
inpackages/apps/Superuser
and faced following issue: http://pastebin.com/50vGLhH1
I read that I have to embed annotations.jar
in android app's dependencies. There are howto do that with eclipse, but cannot find my answer with aosp source code. Anyone knows?
回答1:
Not sure if this will work, do try adding below line in Android.mk
LOCAL_STATIC_JAVA_LIBRARIES += annotations
来源:https://stackoverflow.com/questions/12611043/how-to-make-android-build-system-embed-annotations-jar-in-an-app