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 '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.
I would attempt the "Try: run with --stacktrace" but, I'm unsure how to do this. Can anyone help my troubleshoot this problem? Thanks!
Include All Projects We need to include all of our projects in our settings. gradle. Go to our root of the project again, now run gradle projects. If your configuration is valid, you will receive “BUILD SUCCESSFUL” message as follows.
Delete .gradle
folder in your project's root folder and resync gradle from Android Studio.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With