安卓:项目“MyProject的”根项目没有发现'MyProject的' [英] Android: Project 'MyProject' not found in root project 'MyProject'

查看:234
本文介绍了安卓:项目“MyProject的”根项目没有发现'MyProject的'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前使用Android的工作室,我试图做一个重建,但我得到了下面的错误。

I'm currently using Android Studio and I'm trying to do a rebuild but I get the following error.

Gradle: 
FAILURE: Build failed with an exception.

* What went wrong:
Project Project 'MyProject' not found in root project 'MyProject'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

我会尝试尝试:用--stacktrace跑,但是,我不确定如何做到这一点。谁能帮我解决此问题?谢谢!

I would attempt the "Try: run with --stacktrace" but, I'm unsure how to do this. Can anyone help my troubleshoot this problem? Thanks!

推荐答案

假设傻冒使用Windows,打开命令提示符并导航到你的项目根目录并运行 gradlew建立来查看错误详细

Assuming your'e using Windows, open command prompt and navigate to your project root and run gradlew build to see the error in more detail

cd \androidstudio\MyProject
gradlew build

或运行堆栈跟踪

gradlew build --stacktrace

重复的答案可以在这里找到
<一href=\"http://stackoverflow.com/questions/16633956/android-studio-where-is-the-error-output-window\">Android演播室:在哪里?是误差输出窗口

这篇关于安卓:项目“MyProject的”根项目没有发现'MyProject的'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆