Libraries Do Not Get Added to Apk Anymore After Upgrade to Adt 22

Libraries do not get added to APK anymore after upgrade to ADT 22

Quoting Streets of Boston from his adt-dev post:

When upgrading, the 'Order and Export' of the new 'Android Private
Libraries' is not always checked. And the android-support-v4.jar is now in
this 'Android Private Libraries' section.

To fix this, go to 'Order and Export' and check 'Android Private
Libraries'. Then refresh/clean/rebuild.

After you done this 'fix' for a library project, you may need to just close
and re-open any depending project, because they may not see this 'fix'
immediately.

Give this a shot and with luck it will solve your problem.

Sample Image

After upgrading to Android Developer Tools version 22, compiling fails

After a few non-full time hours, I restarted the "Android SDK Manager" and this time, I noticed these:
- "Android SDK Platform Tools" (upgrade)
- "Android SDK built-tools" (new)

After installing those, I was finally able to fully compile my project.

Eclipse ADT 22.0.1 - Apps including library's don't appear to work any more

After a lot of searching I found an issue in the Java Build Path, Android Private Libraries wasn't checked!

Checking Android Private Libraries

After doing this all my apps started working again!

One annoying bug!

Android Library Dependencies broken after SDK/ADT-Update

Installing the new Build Tools did the trick. They were not automatically included when I updated the SDK (probably need to run the update twice I guess).



Related Topics



Leave a reply



Submit