无法在Android Studio中运行/构建apk。错误:撇号前面没有

时间:2018-06-26 13:27:54

标签: android android-studio

无法在Android Studio中运行/构建APK。

Android Studio:3.1.3

首先出现此错误1

> Apostrophe not preceded by \ (in Transfer from one wallet to another
> within Message{kind=ERROR, text=Apostrophe not preceded by \ (in
> Transfer from one wallet to another within,
> sources=[..\build\intermediates\bundles\debug\res\values\values.xml:1152:5-56],
> original message=, tool name=Optional.of(AAPT)}

从字符串中删除了所有撇号文本。仍然存在bug,因此注释了所有字符串文件。然后出现这个错误

错误2

>     text=Apostrophe not preceded by \ (in Transfer from one wallet to another within,
> sources=[C:\....\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\3c34a606a8ff20177b51bf6cae208059\res\values\values.xml:385:5-78]
>     
>     Caused by: org.gradle.process.internal.ExecException: Process 'command Android\Sdk\build-tools\26.0.2\aapt.exe'' finished with
> non-zero exit value 1

屏幕截图 enter image description here

尝试了here中的所有解决方案,仍然存在错误。 无效/重启也完成了。要解决此错误吗?

0 个答案:

没有答案