这里的错误是什么,我该如何解决?我尝试重建我的代码,但它不起作用。
org.gradle.internal.UncheckedException: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource compilation failed
Output: C:\Users\dasorto\AndroidStudioProjects\ENews3\app\src\main\res\layout-enm-small\activity_second.xml:2: error: not well-formed (invalid token).
Command: C:\Users\dasorto\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.0-4818971-windows.jar\fcf510a17b6427e22ff6873eb8551d38\aapt2-3.2.0-4818971-windows\aapt2.exe compile --legacy \
-o \
C:\Users\dasorto\AndroidStudioProjects\ENews3\app\build\intermediates\res\merged\debug \
C:\Users\dasorto\AndroidStudioProjects\ENews3\app\src\main\res\layout-enm-small\activity_second.xml
Daemon: AAPT2 aapt2-3.2.0-4818971-windows Daemon #4
at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:63)
at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:40)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:76)
at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:50)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:124)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
SMILET
偶然的你
相关分类