错误:在根项目"projectName"中找不到项目"app" [英] Error: Project 'app' not found in root project 'projectName'
问题描述
我有一个使用Eclipse开发的旧应用,现在尝试将其迁移到Android Studio.
I have an old app developed in Eclipse and now trying to migrate it to Android Studio.
我更新了库并遵循了基本步骤.
现在,我收到此错误:
Error: Project 'app' not found in root project 'projectName'.
I updated the libraries and followed the basic steps.
Now, I am getting this error:
Error: Project 'app' not found in root project 'projectName'.
我正在使用
classpath 'com.android.tools.build:gradle:3.0.1'
和最新的gradle 4.1.
I am using
classpath 'com.android.tools.build:gradle:3.0.1'
and latest gradle 4.1.
有人可以帮忙吗?
推荐答案
如果有人仍在寻找解决方案,请验证您是否对settings.gradle有任何疑问.
In case anyone is still looking for solution, please verify if you have any issue with settings.gradle.
settings.gradle应该包含以下字符串:
settings.gradle should contain below strings:
**include ':app'**
这篇关于错误:在根项目"projectName"中找不到项目"app"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!