FAILURE: Build failed with an exception.
See original GitHub issueHi folks. I’m kind of a Newbie to Android. I am following Android Kotlin Fundamentals 01.4: Learn to help yourself. I tried to “In Android Studio, open the android-sunflower-master project.”
It wasn’t totally clear to me exactly how to go about that, but here’s what I did using Android Studio 3.6.1…
- open Android Studio Welcome
- click “open file or project”
- nav to
C:\1d\AndroidApps\AndroidKotlinFundamentals\4 Task Learn from sample code\sunflower-master\build.gradle
- click OK
RESULT:
…
gradle sync finished in 1m 9s
- clicked run on Pixel 2 XL API 24 - iPhone7Plus RESULT
> Task :app:kaptDebugKotlin FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:kaptDebugKotlin'.
> Internal compiler error. See log for more details
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 56s
19 actionable tasks: 1 executed, 18 up-to-date
Please let me know if there’s anything more I can do to help. Thanks. Love and peace, Joe Dorocak aka Joe Codeswell
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
FAILURE: Gradle Build failed with an exception - Stack Overflow
In Android Studio, go to Tools->SDK manager and see that your android version is downloaded or not (for whatever emulator you have chosen...
Read more >Build failed with an exception. * What went wrong: Could not ...
Facing this issue while running on android FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies ......
Read more >Help FAILURE: Build failed with an exception - Gradle Forums
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with...
Read more >FAILURE: Build failed with an exception - Dictionary App Builder
FAILURE: Build failed with an exception · What went wrong: org.slf4j. · Try: Run with --info or --debug option to get more log...
Read more >FAILURE: Build failed with an exception. - Google Groups
I am building a movie streaming app and when I try to run the app, I get this error. Can anyone help? Compiler...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tiembo I am afraid this is not the issue with codelab instructions. I am still getting the same error. Android Studio 3.6.3, Kotlin: 1.3.41, Gradle 5.6.4
Hi there - thank you for the reports. The codelab might be out of date - here’s how to can load the Sunflower example from Android Studio (tested using Studio 3.6.3):
Closing this issue on the Sunflower project as this issue mostly pertains to the codelab instructions. For issues with the Android Fundamentals codelab, please also file an issue here. Thank you!