错误:执行失败的任务':app:mergeDebugResources'。如何修复错误:执行失败的任务':app:mergeDebugResources
C:\Users\Ayuso.android\build-cache\b2c92a1a34e3ead110e3f2338c3550cf7dccb6d4\output\res\values-in\values.xml:1:1: Error: Content is not allowed in prolog.
错误:执行失败的任务':app:mergeDebugResources'。如何修复错误:执行失败的任务':app:mergeDebugResources
C:\Users\Ayuso.android\build-cache\b2c92a1a34e3ead110e3f2338c3550cf7dccb6d4\output\res\values-in\values.xml:1:1: Error: Content is not allowed in prolog.
有错误你values.xml
驻留在res/values-es/
。 values.xml
必须包含有效的XML标记。如果该文件是空白文本文件,则会出现错误。你需要的东西是这样的:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- Add your layout here -->
</LinearLayout>
我解决它下载的Android工作室公测的新版本..
其中'build.gradle' –
我是如何解决这一问题? im anoob –