Android resource compilation failed Output: C:\Users\DevoDev1\AndroidStudioProjects\Test\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1339: error: unescaped apostrophe in string "Who should feed "First Feed" or Anna Prasana to the baby? \n\n (a) Father \n (b) Mother \n (c) Uncle (Mother's Brother) \n (d) Grand Father (Month's father) \n\n Who else can feed first?". C:\Users\DevoDev1\AndroidStudioProjects\Test\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1339: error: not a valid string. C:\Users\DevoDev1\AndroidStudioProjects\Test\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1343: error: unescaped apostrophe in string "Lamp should be facing our side or God\'s side \n\n (a) To God side, because we are offering to God \n (b) Our side, because we need the God's grace on us \n (c) Doesn't matter \n\n What is your take?". C:\Users\DevoDev1\AndroidStudioProjects\Test\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1343: error: not a valid string. C:\Users\DevoDev1\AndroidStudioProjects\Test\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1455: error: unescaped apostrophe in string "Don't loosen your belt". C:\Users\DevoDev1\AndroidStudioProjects\Test\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:1455: error: not a valid string.命令:C:\Users\DevoDev1.gradle\caches\transforms-1\files-1.1\aapt2-3.2.0-4818971-windows.jar\85067246fdfeb2b4bb965a42850c6b89\aapt2-3.2.0-4818971-windows\aapt2.exe compile--legacy\-o个\C: \Users\DevoDev1\AndroidStudioProjects\Test\app\build\intermediates\res\merged\debug\C: \Users\DevoDev1\AndroidStudioProjects\Test\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml守护程序:AAPT2 AAPT2-3.2.0-4818971-windows守护程序#0
更新到3.3.2后遇到同样的问题。我忽略了当前的项目和新的克隆,或者创建了一个为我解决问题的新项目。
我有同样的问题。尝试通过Android Studio中的项目打开值.xml
C:\Users\DevoDev1\AndroidStudioProjects\Test\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml
查找行:1339、1343、1455并编辑它们。
错误在您的字符串文件中。替换此字符串
Who should feed "First Feed" or Anna Prasana to the baby? \n\n (a) Father \n (b) Mother \n (c) Uncle (Mother's Brother) \n (d) Grand Father (Month's father) \n\n Who else can feed first?
Lamp should be facing our side or God\'s side \n\n (a) To God side, because we are offering to God \n (b) Our side, because we need the God's grace on us \n (c) Doesn't matter \n\n What is your take?
Don't loosen your belt
跟:
Who should feed \"First Feed\" or Anna Prasana to the baby? \n\n (a) Father \n (b) Mother \n (c) Uncle (Mother\'s Brother) \n (d) Grand Father (Month\'s father) \n\n Who else can feed first?
Lamp should be facing our side or God\'s side \n\n (a) To God side, because we are offering to God \n (b) Our side, because we need the God\'s grace on us \n (c) Doesn\'t matter \n\n What is your take?
Don\'t loosen your belt
您错过了一些撇号和一些双引号
更新android工作室后…我的项目崩溃了,出现以下错误 我的项目级别是 和应用程序级别渐变 如果还需要更多的信息,请告诉我们。任何帮助都将不胜感激。更新后,它没有工作,也试图降级到3.1.0,但它没有工作,只是打开了价值。xml在建立- urn:oasis:names:TC:xliff:document:1.2显示URI未注册 “xmlns:ns2=”http://schemas.android
我刚刚将我的android工作室更新到3.2.1版,并通过android工作室将我的gradle更新到最新版本,但构建项目面临此错误: Android资源编译失败输出:D:\project\myProject\app\build\mediates\增量\mergeDebugResources\merged.dir\值\values.xml:2577:错误:内部元素必须是资源引用或为空。D:\pro
我正在Android Studio上开发一个应用程序,一切都很顺利,但是当我将Android Studio更新到最新的3.2.1时。每当我重建它时,它开始抛出错误,如: 值.xml 此值行中出现错误: 我尝试了一切可能的方式来修复值中的错误,但没有解决方案,每当我对值.xml文件进行更改时,默认文件都会在重建后再次出现。任何帮助将不胜感激 非常感谢您在这件事上花费的时间和帮助。
这是我的Fab活动 } 这是我的logcat 进程:com.teepe.teepe,PID:29259 java.lang.RuntimeException:无法启动活动组件Info{com.teepe.teepe/com.teepe.teepe.MainActivity}:java.lang.ClassCastException:Android.Support.Design.Widget.Flo
Android Studio更新到3.2.1 Gradle版本后,获取Android资源编译失败:3.3.0在消息视图中获取以下错误 Android资源编译失败E:\AndroidProjects\OnlineMp3\app\build\intermediates\incremental\mergedebugresources\merged.dir\values\values.xml:595:错误
我试过很多方法,但都不奏效... Android资源编译失败输出:C:\users\user\desktop\new Android\test1_tp7\app\src\main\res\layout\activity_main.xml:1:错误:格式不正确(无效令牌)。命令:c:\users\user.gradle\caches\transforms-1\files-1.1\aapt2-3.2.