1、导入工程时android studio报 Migrate Project to Gradle?

1、导入工程时android studio报
Migrate Project to Gradle?
This project does not use the Gradle build system. We recommend that you migrate to using the Gradle build system.

2、解决方法:

  1. Close your project(关闭工程)
  2. Back up your project(备份你的项目)
  3. Delete the .idea folder in the root directory of the project(在工程中删除 .idea文件夹)
  4. Delete all the .iml files in your project(删除 .iml文件)
  5. Import your project in Android Studio, and in the dialog that prompts you for a file, (导入你的工程到android studio)choose the build.gradle file.
After this you should be good to go.

3、连接:

猜你喜欢

转载自blog.csdn.net/fdoubleman/article/details/53032863