Don't know if this is because android-studio does something wrong, or just common to all gradle projects in intelliJ, but sometimes when i run the build/debug, all I get is:
Gradle:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':ProjectA:compileDebug'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
I can't seem to find any way to get more information, as this text already appear on what i consider to be the compiler output.
Where should I be looking at?
One thing I've done to get some better information is go to the project root via the command line and run
gradlew compileDebug
this does give more information, but I'm not 100% sure its running the same command as the IDE.
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