Skip to content Skip to sidebar Skip to footer

How Could I Import Project From Eclipse To Android Studio

as you can see, this error comes from AndroidManifest.xml, it occurs in android studio, I looked up a lot information, and don't know how it causes, I appreciate you if you could

Solution 1:

For this firstly you have to export project from Eclipse

  1. Update your Eclipse ADT Plugin (you must have version 22.0 or higher).
  2. In Eclipse, select File > Export.
  3. In the window that appears, open Android and select Generate Gradle build files.
  4. Select the projects you want to export for Android Studio and click Finish.

Your selected projects remain in the same location but now contain a build.gradle file and are ready for Android Studio

Now you have to import project into Android Studio

  1. In Android Studio, select File > Import Project.
  2. Locate a project you exported from Eclipse, select the project's root directory and click OK.
  3. Select Create project from existing sources and click Next.
  4. Follow the walk-through to complete the import process.

Credit migration from eclipse to studio

Special Note

I faced the same error because of not generated Gradle build files in Eclipse.

Solution 2:

It got simpler in newer versions of android studio.

  1. Just close your current project by File-> Close Project. After doing this the Screen shot shown/(similar to) below will appear.

enter image description here

  1. Select the rounded circle highlighted option. Which says You can import projects from Eclipse ADT.

  2. After that select your project from directory and wait untill the build finishes.

Post a Comment for "How Could I Import Project From Eclipse To Android Studio"