Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android project in Eclipse is missing the Android 4.2.2 library folder

SOLVED - After doing what you all helped me with, a restart of Eclipse fixed it. Thanks

One of my Android apps in Eclipse is showing red errors for all my lines of code, and when I looked to find the problem, there was no Android 4.2.2 library in the project. I don't know where it went, but I'd like to know how I get it back.

It also says "Unable to get system library for project" in the library tab of Build Path.

If these responses don't work, I might just create a new project and put back in the required files.

enter image description here

like image 682
clever_trevor Avatar asked Jul 25 '13 05:07

clever_trevor


4 Answers

If the other answers don't help, try right clicking the folder of your project and then going to "Android Tools", then "Fix Project Properties". If you happen to delete your dependencies in the Package Explorer in Eclipse, this will bring them right back!

like image 65
TheWizKid95 Avatar answered Oct 30 '22 09:10

TheWizKid95


Try these steps:

  1. Right Click on Project->Properties->Android->Select 4.2.2 in your target name
  2. If there is no 4.2.2 in your target then you probably need to download 4.2.2 api from sdk manager.
like image 5
Mr_Hmp Avatar answered Oct 30 '22 08:10

Mr_Hmp


Right click on the project ==> Select Android ==> Select Android 4.2.2.

like image 2
R4chi7 Avatar answered Oct 30 '22 08:10

R4chi7


Try downloading other built target, e.g. Android 4.3, so you can do this: Select other project built target (e.g. Google APIs 4.3), click OK. Repeat the same steps to select Android 4.2.2.

like image 1
amta Avatar answered Oct 30 '22 08:10

amta