Could not open cp_init remapped class cache for…

初入Android Studio,安装配置时遇到Gradle报错,Could not open cp_init remapped class cache for…,由于配置时默认jdk路径中jdk版本过高导致。
Could not open cp_init remapped class cache for...
invalid type code: 1C也是相同原因。
Could not open cp_init remapped class cache for...
这里建议改用Android Studio默认jdk路径,如果已经配置完毕,也可以通过以下方法修改jdk默认路径。
选择File->Other Settings->Default Project Structure…
Could not open cp_init remapped class cache for...
将JDK location改为Android Studio默认的jdk路径,关闭重启即可。(注意:SDK路径不能有空格)
Could not open cp_init remapped class cache for...
然后等待Android Studio自动配置完成,时间较长,耐心等待。Could not open cp_init remapped class cache for...

相关文章: