AndroidStudio项目无法运行,Migrate Project to Gradle? This project does not use the Gradle build system.

来源:互联网 发布:秒杀软件利剑 编辑:程序博客网 时间:2024/06/06 03:07

打开一个昨天的项目文件夹的时候突然发现所有的项目都不可已运行了,然后发现报错信息:

Migrate Project to Gradle? This project does not use the Gradle build system. We recommend that you migrate to using the Gradle build system. 

很无奈啊!

排查一下,发现是导错了,本来项目和moudule都是在B文件夹下的,也就是我的项目文件夹,结果我把A文件夹导进来了,A文件夹中只有B文件夹这么一个项目文件夹,这就很尴尬了;

把.idea文件夹删掉,把所有.iml结尾的文件删掉,重新导入。

阅读全文
0 1
原创粉丝点击