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

来源:互联网 发布:数据在计算机内部传送 编辑:程序博客网 时间:2024/05/21 23:01
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 thebuild.gradle file.
After this you should be good to go.

3、连接:
http://stackoverflow.com/questions/21606504/cant-migrate-project-to-gradle-in-android-studio
1 0
原创粉丝点击