How can I import a project from eclipse into android studio

enter image description here

as you can see, this error comes from AndroidManifest.xml, it occurs in Android studio, I searched a lot of information and don’t know how this happens, I appreciate you if you could give me a hand.

the other thing I want to add is the illagal shown in this file.

+1
source share
2 answers

To do this, you must first export the project from Eclipse

  • Update the Eclipse ADT plugin (you must have version 22.0 or higher).
  • In Eclipse, choose File> Export.
  • In the window that appears, open Android and select "Create" Gradle build files.
  • Select the projects you want to export for Android Studio, and click Finish.

The selected projects remain in the same place, but now contain the build.gradle file and are ready for Android Studio

Now you need to import the project into Android Studio

  • In Android Studio, choose File> Import Project.
  • Locate the project that you exported from Eclipse, select the root directory of the project, and click OK.
  • Select "Create a project from existing sources" and click "Next."
  • Follow the instructions to complete the import process.

For more information, visit the developer site from eclipse to the studio

Special note

I encountered the same error due to non-generated Gradle build files in Eclipse.

+5
source

It has become easier in new versions of Android studio.

  • Just close your current project with the file-> Close project. After that, the screenshot shown / (similar) below will appear.

enter image description here

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

  2. After that, select your project from the catalog and wait for the assembly to complete.

+2
source

Source: https://habr.com/ru/post/1274458/


All Articles