Can't migrate project to Gradle in Android Studio

前端 未结 6 1186
伪装坚强ぢ
伪装坚强ぢ 2020-12-02 09:48

I have a project that I already run in Android Studio.

After I\'ve opened the project in Android Studio I got the message:

Migrate Project to Gradle?

6条回答
  •  广开言路
    2020-12-02 10:28

    All I did was to try importing the project with the "import Gradle, Eclipse ETC" option at the start window of Android Studio, selected my gradle-incompatible project to import, and then it did import by asking me automatically if I wanted to make a gradle build project and voila it did import correctly this time with no errors.

    The process is pretty straightforward, nothing to fiddle around with nasty settings, just follow the IDE auto-fixes and it will work.

    At last that worked for me!

提交回复
热议问题