资源编译失败。升级Android Studio之后

时间:2019-02-15 15:00:43

标签: java android android-studio

我将Android Studio更新到了3.3版,当我尝试构建项目时,它失败了。

Android Studio
(点击图片放大)

它说:

git merge-base HEAD origin/develop | xargs git diff --name-only --oneline | xargs ls -d 2>/dev/null | xargs code

它也表示在:app:mergeDebugResources:

Android resource compilation failed
/Users/adhfixer/Downloads/Waleed/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:4310: error: duplicate value for resource 'attr/orientation' with config ''.
/Users/adhfixer/Downloads/Waleed/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:4310: error: resource previously defined here.

0 个答案:

没有答案