[enter image description here] FAILURE:Build failed with an exception
[1]: https://i.stack.imgur.com/NE78D.jpg What went wrong
[enter image description here] FAILURE:Build failed with an exception
[1]: https://i.stack.imgur.com/NE78D.jpg What went wrong
Copyright © 2021 Jogjafile Inc.
Disable the offline mode of Gradle by going to File - Project Settings - Build, Execution, Deployment - Gradle - Remove --offline in Command Line options.(Or, simply click the -//- icon in the Gradle window.)
Then, connect to the internet and run Gradle build.
After the build has run once, you can enable the offline mode again.