Skip to content Skip to sidebar Skip to footer

Error On Importing An Eclipse Project Into Android Studio

I'm trying to import a project done in Eclipse to Android Studio. While importing, I'm getting the following error: 'There are unrecoverable errors which must be corrected first'

Solution 1:

Finally, I found a way..I opened the project.properties file in a text editor and removed the line which was related to appcompat. Then I managed to import the project without errors. After successful import, I added appcompat as a dependency as answered by Gabriele Mariotti. Thanks Gabriele Mariotti.

Solution 2:

Dont' copy the appcompat library as a module in Android Studio.

Just add this dependency in your app/build.gradle file:

dependencies {
    compile"com.android.support:appcompat-v7:21.0.3"
}

Where the structure of your project is:

root
  app
     build.gradle  <-- here
  build.gradle  //top level

Post a Comment for "Error On Importing An Eclipse Project Into Android Studio"