I 'm new to Android Studio ... I was using eclipse and my project was associated with appcompat v7 and I watched that video of how to import your project folder to android studio from eclipse but I wondered what about the appcompat v7 do I forget about or what ?
Asked
Active
Viewed 80 times
0
-
The app compat dependency should be specified in your `build.gradle` file. – ataulm Mar 27 '15 at 09:24
-
duplicate http://stackoverflow.com/questions/22791150/how-do-you-import-an-eclipse-project-into-android-studio-now – Karol Żygłowicz Mar 27 '15 at 09:33
2 Answers
0
To get round this, look for refs in the project.properties or .classpath files that came in from the Eclipse project and remove/comment them out, eg
<classpathentry combineaccessrules="false" kind="src" path="/android-support-v7-appcompat"/>

atulkhatri
- 10,896
- 3
- 53
- 89
0
Use file>Import project. After it's imported go to build.gradle and paste:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.0.3'
}

Muhammad Ali
- 3,478
- 5
- 19
- 30