How do I open my existing Eclipse projects in Android Studio?

后端 未结 5 1883
名媛妹妹
名媛妹妹 2020-11-27 17:52

Switching to Android Studio with all my existing projects in Eclipse. So what is the procedure to do that.

5条回答
  •  伪装坚强ぢ
    2020-11-27 18:01

    Try these steps for importing an Eclipse project into Android studio:

    1- Click on import project (Eclipse ADT, Gradle, etc.).

    2- Choose the root folder of your project. The folder that contains bin folder.

    3- Choose where you want to import it and click next.

    4- Click on finish.

    5- Change the view to project.

    6- Open build.gradle in your src folder.

    7- You should find out your current SDK version. So, click on tools-> Android-> SDK Manager-> Launch standalone SDK Manager and scroll to the bottom.

    8- Change your build.gradle based on your SDK version and click try again. For example, mine is 23.1.1.

    If you have any library that is not added automatically please visit https://stackoverflow.com/a/35369267/5475941 to add it manually.I hope it helps.

提交回复
热议问题