
Note that this question is similar, however it asks how to disable it within Flutter code that pulls from a server and my problem needs to stop Java from doing it when a Flutter app is run.ĮDIT: % keytool -importcert -file ~/Downloads/google.cer -alias google -keystore $JAVA_HOME/jre/lib/security/cacerts I don't know why it's doing the error, I just need a way to disable the SSL Certificate Verification for Flutter. Done 4.3sĮxception: Gradle task assembleDebug failed with exit code 1 Run with -info or -debug option to get more log output. Run with -stacktrace option to get the stack trace. > : PKIX path building failed: .SunCertPathBuilderException: unable to find valid certification path to requested target > Could not resolve all artifacts for configuration ':classpath'. Launching lib/main.dart on Android SDK built for x86 in debug mode.Ī problem occurred configuring root project 'android'. Graphics artifacts, consider enabling software rendering with

Using hardware rendering with device Android SDK built for x86.

I believe this needs to go through the Java JDK.

I'm wondering how to disable certificate verification so that it can still run (assume I don't care about the security issues this raises). During the Gradle task "assembleDebug", it runs into an sslHandshakeException. On a fresh install of Flutter, JDK, and Android Studio 3.5.3, Flutter always runs into an error when trying to build for an Android app.
