错误:com.android.tools.aapt2.Aapt2Exception:AAPT 2错误:查看日志获取详细信息这是我的Gradle控制台的输出,我无法构建我的项目D:\Android Projects\....\app\src\main\res\layout\topic_view_header.xmlError:error: resource attr/?? (aka -packagename- :attr/??) not found.Error:error: resource attr/?? (aka -packagename-:attr/??) not found.Error:error: resource attr/?? (aka -packagename-:attr/??) not found.Error:resource attr/?? (aka -packagename-:attr/??) not found.Error:resource attr/?? (aka -packagename-:attr/??) not found.Error:resource attr/?? (aka -packagename-:attr/??) not found.Error:failed linking file resources.Error:java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for detailsError:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for detailsError:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for detailsError:Execution failed for task ':app:processDebugResources'.> Failed to execute aaptInformation:BUILD FAILED in 27sInformation:11 errorsInformation:0 warningsAndroid Studio 3.0 RC 2
3 回答
哈士奇WWW
TA贡献1799条经验 获得超6个赞
更新2(遵循此方法)
3.3.0-alpha06
更新1:
原始答案
改进增量资源处理
gradle.properties
android.enableAapt2=false
- 3 回答
- 0 关注
- 2344 浏览
添加回答
举报
0/150
提交
取消