Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Android Private Libraries" doesn't appear in project

The "Android Private Libraries" item is missing from my project (it doesn't appear in the Project Explorer in Eclipse)... It appears as though it isn't getting built into the project either, as I'm getting various errors regarding jar files in my "libs" folder...

It does appear in Java Build Path (yet it appears to be empty - no jar files appear under it in the Libraries tab), though, and I did make sure it is checked there.

If it is of any relevance, the project at hand has a lot of Android library project dependencies as well, and in those library projects the jar files under libs/ do appear under Android Private Libraries.

like image 534
saarraz1 Avatar asked Nov 11 '13 15:11

saarraz1


3 Answers

I found the problem - I just recently added a new library project as a dependency, and it had an earlier version of android-support-v4.jar in its Android Private Libraries than the one I was using, so that ended up causing the entire Android Private Libraries folder not to be generated in the end project.

Found this out by looking at the Android Console after trying to build.

like image 161
saarraz1 Avatar answered Oct 30 '22 20:10

saarraz1


May be try the following steps

  • Check and install Android SDK Build-tools in Android SDK Manager.
  • Package Explorer -> Right click the project -> Android Tools -> Fix Project Properties.
  • Project -> Clean
  • Check this Libraries do not get added to APK anymore after upgrade to ADT 22

Please update question with eclipse screen shot to get more clarity on problem you face :)

like image 40
Jayasagar Avatar answered Oct 30 '22 22:10

Jayasagar


  1. check console
  2. you can find android-support-v4.jar in two paths
  3. Go to those path manually and replace the android-support-v4.jar with larger size

thats it!!it works for me:-)

like image 21
Rahul Kishan Avatar answered Oct 30 '22 20:10

Rahul Kishan