Android Exception - Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8

AGP (Android Gradle plugin) 7.0.0 需的最低 Java 版本更改为 Java 11,如果 JVM 指向 1.8 版,那么您应该在设置中更改它

Android Exception - IllegalCharsetNameException: java.nio.charset.CharsetICU[UTF-8]

在 Android 6(Android Marshmallow)和之前的版本中 JDK 的 Charset.toString() 方法的返回值是 java.nio.charset.CharsetICU[UTF-8]

Java Exception - java.lang.SecurityException: Prohibited package name: java.*

java.lang.ClassLoader 类对类名做了检查,如果以 java.* 的格式作为包名,则会抛出异常:`SecurityException("Prohibited package name: " + name.substring(0, name.lastIndexOf('.')))`
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×