Open VankaIn opened 6 years ago
这个应该是aapt2
处理的问题,可以先禁用aapt2。
Improved incremental resource processing using AAPT2, which is enabled by default. If you are experiencing issues while using AAPT2, you can disable it by setting android.enableAapt2=false in your gradle.properties file and restarting the Gradle daemon by running ./gradlew --stop from the command line.
这个昨天第一次用freeline,linux ,windows又平台都试了,android3.0创建的项目,freeline 0.8.8,搞到凌晨1点半,放弃了,来去就是哪几步,一直以为自己配置哪里记漏了,网上全是2016年的帖子总结,一点用都没有,其中就有禁用aapt2这个方法,还不是针对freeline用的,这行放上去的话,这个Log不会出现,但会报出别的编译问题,一直中断。。。怎么找都找不到和我碰到一样问题的人,差点怀疑人生-为啥别人哪么简单就可以运行?现在来到官网,突然发现组织了。。。。
在gradle.properties 中添加 android.enableAapt2=false
我也遇到和楼主一样的问题,将android.enableAapt2=false进行设置就报其他的编译错误,折腾了好久还是没能搞定。
似乎绕过了,但改代码有效果。改布局,就报错了
项目是新建的,具体输出 log: