Reputation: 9089
I have an Android application created in Eclipse, now I want to import it to Android studio, when I import project I get the following error
Project FinalProject Integrate:/home/vishal/Android_Workspace/FinalProject Integrate/project.properties:
Library reference ../android-support-v7-appcompat could not be found
Path is /home/vishal/Android_Workspace/FinalProject Integrate/../android-support-v7-appcompat which resolves to /home/vishal/Android_Workspace/android-support-v7-appcompat
and it is an unrecoverable error.
Upvotes: 6
Views: 6767
Reputation: 5
Try this: Go down to the folder where the workspace and there copy the project to another folder, then open the Android studio as administrator and try again.
Upvotes: 0
Reputation: 9089
Here's what I did: In the the project.properties
file I deleted all dependencies, and while importing project in Android studio I simply followed the instructions (making sure the check box are ticked, especially the one that says add any dependency). And it worked.
Upvotes: 27
Reputation: 12147
File
-> Project structure
-> Dependencies
, click add icon on the right side, and add appcompat-v7 as a library dependency.Upvotes: 3