【发布时间】:2017-10-26 07:14:54
【问题描述】:
我的项目昨天运行良好;但是当我今天将 Android Studio 更新到 3.0 时,因此默认启用 AAPT2。我有以下错误:
Error:layout bounds on right border must start at edge.
Error:Execution failed for task ':app:mergeDevDebugResources'.
Error: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
我打开了日志文件,但找不到线索。当我 google Error:layout bounds on right border must start at edge 有关 9-patches 的问题时,结果中。我的项目中也有大约 10 个 9 补丁。但我不确定是什么问题。我知道我可以禁用 Aapt2,但我想解决问题。谢谢。
【问题讨论】:
标签: android aapt android-studio-3.0