Sujith S Manjavana
Sujith S Manjavana

Reputation: 1576

eclipse error "android.jar" missing

I'm trying to import my android projects to my new pc. but eclipse fires the following error-

"Project 'MyProject' is missing required library: 'C:\Users\myName\AppData\Local\Android\android-sdk\platforms\android-10\android.jar' Build path Build Path Problem.

but there is no folder called 'C:\Users\myName\AppData~", my user folder is 'C:\Users\PC\AppData~.

how to fix this guys??

Upvotes: 2

Views: 5933

Answers (5)

Ujjawal Maurya
Ujjawal Maurya

Reputation: 616

Your sdk have missing .jar file Download android.jar file from https://github.com/Sable/android-platforms and paste it. It will work fine on Windows and Linux

Upvotes: 1

leon
leon

Reputation: 21

I also came across this kind of issue occationally, doing clean or selecting android project build target doesn't work, restart eclipse works though.

Upvotes: 1

berserk
berserk

Reputation: 2728

Delete the android.jar from Project->Properties->Java Build Path

Upvotes: 6

madhu
madhu

Reputation: 81

Right click on AndEngine go to Properties ->Android select Android 4.03 and click ok . This will build your project in Android 4.03 and get the required Andengine.jar file.

Upvotes: 2

user2448968
user2448968

Reputation:

Change your computer name to "myName".

Upvotes: 1

Related Questions