在android studio 中想要新建一个class,但报错如下:
Unable to parse template "Class"
Error message: This template did not produce a Java class or an interface
查了资料
在 File->setting->editor->file and code templates, 选择 Class,在files 的大框中复制以下内容
#if (${ PACKAGE_NAME} && ${ PACKAGE_NAME} != "")package ${ PACKAGE_NAME<