I am getting this error when I try to run ionic cordova build android
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all files for configuration ':classpath'.
> Could not download trove4j.jar (org.jetbrains.trove4j:trove4j:20160824)
> Could not get resource 'https://jcenter.bintray.com/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.jar'.
> Could not GET 'https://jcenter.bintray.com/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.jar'.
> d29vzk4ow07wi7.cloudfront.net: Name or service not known
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 16s
[ERROR] An error occurred while running subprocess cordova.
cordova build android --release exited with exit code 1.
Re-running this command with the --verbose flag may provide more information
I got all the other errors about maven and etc i fixed them I think with the help of comments on stockoverflow this one is still missing. I didn’t see anything about this in ionic forms too.
Its the first time I am working with ionic 4. I worked on Ionic 1 3 years ago.
Thanks