Closed WiseDiligent closed 4 years ago
Android studio 3.5.3 没问题哇
Android studio 3.5.3 没问题哇
是的,但是我升级3.6之后,就有问题,生成不了MVP加个了, 你升级到3.6 试试
FreeMarker template error:
The following has evaluated to null or missing:
==> isNewProject [in template "root://activities/MVPArmsTemplate/dagger2_macros.ftl" at line 2, column 9]
Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)??
The failing instruction (FTL stack trace):
----------
==> #if !isNewProject && ((language!"Java... [in template "root://activities/MVPArmsTemplate/dagger2_macros.ftl" in macro "addAllKaptDependencies" at line 2, column 3]
@dagger2.addAllKaptDependencies [in template "root://activities/MVPArmsTemplate/recipe.xml.ftl" at line 6, column 1]
----------
这个错误哇
FreeMarker template error: The following has evaluated to null or missing: ==> isNewProject [in template "root://activities/MVPArmsTemplate/dagger2_macros.ftl" at line 2, column 9] Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)?? The failing instruction (FTL stack trace): ---------- ==> #if !isNewProject && ((language!"Java... [in template "root://activities/MVPArmsTemplate/dagger2_macros.ftl" in macro "addAllKaptDependencies" at line 2, column 3] @dagger2.addAllKaptDependencies [in template "root://activities/MVPArmsTemplate/recipe.xml.ftl" at line 6, column 1] ----------
这个错误哇
控制台没有看到错误提示哈哈 ,不好意思,
ok, 谢谢
下载的最新版本 还是在报这个错 也是Android studio3.6用的是arms
Android studio3.6 版本不支持??? 能不能做下适配