android studio 新建class文件报错Unable to parse template "Class" Error message: This template did not prod

android studio新建class文件突然报错,找到如下答案: 大概的意思是在android studio的安装目录下面,修改idea.vmoptions 和idea64.vmoptions增加如下文字:-Djdk.util.zip.ensureTrailingSLash=false,记得重启android studio.


down vote

In your, IntelliJ IDE go to Help => Edit Custom VM Options and Add to your idea.vmoptions or idea64.vmoptions the following line:

-Djdk.util.zip.ensureTrailingSlash=false

You can read more about it here and here.


6 down vote

In your, IntelliJ IDE go to Help => Edit Custom VM Options and Add to your idea.vmoptions or idea64.vmoptions the following line:

-Djdk.util.zip.ensureTrailingSlash=false

You can read more about it here and here.

你可能感兴趣的:(Android)