标题异常提示:
Execution failed for task ‘:app:javaPreCompileDebug’.
Could not resolve all files for configuration ‘:app:debugAnnotationProcessorClasspath’.
Could not resolve com.google.auto:auto-common:0.3.
Required by:
project :app > com.github.bumptech.glide:compiler:4.0.0-RC1 > com.google.auto.service:auto-service:1.0-rc3
Could not resolve com.google.auto:auto-common:0.3.
Could not get resource ‘https://dl.google.com/dl/android/maven2/com/google/auto/auto-common/0.3/auto-common-0.3.pom’.
Could not GET ‘https://dl.google.com/dl/android/maven2/com/google/auto/auto-common/0.3/auto-common-0.3.pom’.
java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
标题报错表现:
build编译通过,但是运行时编译失败。
标题原因说明:
jdk版本过低导致运行时编译失败
标题解决方法
升级jdk版本