Error executing FreeMarker template: The following has evaluated to null or missing:

Error executing FreeMarker template: The following has evaluated to null or missing:
==> relativePackage [in template “root://activities/common/root/res/layout/simple.xml.ftl” at line 5, column 22]


as从2.3.3升级到3.0以后创建as项目的时候,页面创建不出来,然后报错,错误就是上面那个
一脸懵逼
突然想到,我以前修改过样式模板
于是乎百度了一下

root://activities/common/root/res/layout/simple.xml.ftl

找到了

http://www.cnblogs.com/wangjiaghe/p/7047387.html

试了一下解决了问题,应该是当时2.3时候默认的样式是ConstraintLayout布局 用着不习惯,我修改了下,修改的时候出现了点小问题

你可能感兴趣的:(android)