m-ric
m-ric

Reputation: 5901

How to make android build system embed annotations.jar in an app?

I am building Superuser on Android Open Source Project 4.0.4. I:

  1. fetched the git repo in packages/apps,
  2. issued mm in packages/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?

Upvotes: 1

Views: 1126

Answers (1)

nandeesh
nandeesh

Reputation: 24820

Not sure if this will work, do try adding below line in Android.mk

LOCAL_STATIC_JAVA_LIBRARIES += annotations

Upvotes: 1

Related Questions