I've been trying to create an Android app from Angular using Cordova and JDK 8.
After running cordova build android I get this error:
component versions:
- Angular 9
- Gradle 7
- Cordova 10
- SDKmanager 5
Exception in thread "main" javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Things I've tried:
- renaming
https://services.gradle.org/distributions/gradle-6.5-all.ziptohttpbut it renames itself again tohttps - reinstalling JDK 8
- Run CMD/Powershell as Administrator
