Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:compileDebugAndroidTestSources, :app:compileDebugUnitTestSources, :app:compileDebugSources]
Configuration on demand is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:checkDebugManifest UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources
AGPBI: {"kind":"error","text":"invalid dimen","sources":[{"file":"/home/alexandr/.gradle/caches/transforms-1/files-1.1/appcompat-v7-26.0.1.aar/fa04f469ab1b047c375fcead80bf1cd6/res/values/values.xml","position":{"startLine":283,"startColumn":4,"startOffset":29477,"endColumn":89,"endOffset":29562}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"invalid dimen","sources":[{"file":"/home/alexandr/.gradle/caches/transforms-1/files-1.1/appcompat-v7-26.0.1.aar/fa04f469ab1b047c375fcead80bf1cd6/res/values/values.xml","position":{"startLine":284,"startColumn":4,"startOffset":29567,"endColumn":90,"endOffset":29653}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"invalid dimen","sources":[{"file":"/home/alexandr/.gradle/caches/transforms-1/files-1.1/appcompat-v7-26.0.1.aar/fa04f469ab1b047c375fcead80bf1cd6/res/values/values.xml","position":{"startLine":319,"startColumn":4,"startOffset":31869,"endColumn":85,"endOffset":31950}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"invalid dimen","sources":[{"file":"/home/alexandr/.gradle/caches/transforms-1/files-1.1/appcompat-v7-26.0.1.aar/fa04f469ab1b047c375fcead80bf1cd6/res/values/values.xml","position":{"startLine":320,"startColumn":4,"startOffset":31955,"endColumn":86,"endOffset":32037}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"invalid dimen","sources":[{"file":"/home/alexandr/.gradle/caches/transforms-1/files-1.1/appcompat-v7-26.0.1.aar/fa04f469ab1b047c375fcead80bf1cd6/res/values/values.xml","position":{"startLine":321,"startColumn":4,"startOffset":32042,"endColumn":89,"endOffset":32127}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"invalid dimen","sources":[{"file":"/home/alexandr/.gradle/caches/transforms-1/files-1.1/appcompat-v7-26.0.1.aar/fa04f469ab1b047c375fcead80bf1cd6/res/values/values.xml","position":{"startLine":322,"startColumn":4,"startOffset":32132,"endColumn":86,"endOffset":32214}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"invalid dimen","sources":[{"file":"/home/alexandr/.gradle/caches/transforms-1/files-1.1/appcompat-v7-26.0.1.aar/fa04f469ab1b047c375fcead80bf1cd6/res/values/values.xml","position":{"startLine":323,"startColumn":4,"startOffset":32219,"endColumn":87,"endOffset":32302}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"invalid dimen","sources":[{"file":"/home/alexandr/.gradle/caches/transforms-1/files-1.1/appcompat-v7-26.0.1.aar/fa04f469ab1b047c375fcead80bf1cd6/res/values/values.xml","position":{"startLine":324,"startColumn":4,"startOffset":32307,"endColumn":81,"endOffset":32384}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"invalid dimen","sources":[{"file":"/home/alexandr/.gradle/caches/transforms-1/files-1.1/appcompat-v7-26.0.1.aar/fa04f469ab1b047c375fcead80bf1cd6/res/values/values.xml","position":{"startLine":325,"startColumn":4,"startOffset":32389,"endColumn":82,"endOffset":32467}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"invalid dimen","sources":[{"file":"/home/alexandr/.gradle/caches/transforms-1/files-1.1/appcompat-v7-26.0.1.aar/fa04f469ab1b047c375fcead80bf1cd6/res/values/values.xml","position":{"startLine":326,"startColumn":4,"startOffset":32472,"endColumn":89,"endOffset":32557}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"invalid dimen","sources":[{"file":"/home/alexandr/.gradle/caches/transforms-1/files-1.1/appcompat-v7-26.0.1.aar/fa04f469ab1b047c375fcead80bf1cd6/res/values/values.xml","position":{"startLine":327,"startColumn":4,"startOffset":32562,"endColumn":90,"endOffset":32648}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"invalid dimen","sources":[{"file":"/home/alexandr/.gradle/caches/transforms-1/files-1.1/appcompat-v7-26.0.1.aar/fa04f469ab1b047c375fcead80bf1cd6/res/values/values.xml","position":{"startLine":333,"startColumn":4,"startOffset":32938,"endColumn":56,"endOffset":32990}}],"original":"","tool":"AAPT"}
ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:395 invalid dimen
ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:396 invalid dimen
ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:436 invalid dimen
ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:437 invalid dimen
ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:438 invalid dimen
ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:439 invalid dimen
ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:440 invalid dimen
ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:441 invalid dimen
ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:442 invalid dimen
ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:443 invalid dimen
ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:444 invalid dimen
ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:465 invalid dimen
Error: java.lang.RuntimeException: com.android.builder.internal.aapt.AaptException: AAPT2 compile failed:
aapt2 compile --legacy -o /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/res/merged/debug /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml
Issues:
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:395 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:396 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:436 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:437 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:438 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:439 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:440 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:441 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:442 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:443 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:444 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:465 invalid dimen
:app:mergeDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> Error: java.lang.RuntimeException: com.android.builder.internal.aapt.AaptException: AAPT2 compile failed:
aapt2 compile --legacy -o /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/res/merged/debug /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml
Issues:
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:395 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:396 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:436 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:437 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:438 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:439 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:440 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:441 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:442 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:443 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:444 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:465 invalid dimen
* Try:
Run with --info or --debug option to get more log output.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:mergeDebugResources'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:124)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:80)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:105)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:99)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:625)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:580)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:99)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
Caused by: com.android.build.gradle.tasks.ResourceException: Error: java.lang.RuntimeException: com.android.builder.internal.aapt.AaptException: AAPT2 compile failed:
aapt2 compile --legacy -o /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/res/merged/debug /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml
Issues:
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:395 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:396 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:436 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:437 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:438 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:439 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:440 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:441 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:442 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:443 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:444 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:465 invalid dimen
at com.android.build.gradle.tasks.MergeResources.doFullTaskAction(MergeResources.java:273)
at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:106)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:173)
at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:121)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:122)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:111)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)
... 27 more
Caused by: Error: java.lang.RuntimeException: com.android.builder.internal.aapt.AaptException: AAPT2 compile failed:
aapt2 compile --legacy -o /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/res/merged/debug /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml
Issues:
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:395 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:396 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:436 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:437 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:438 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:439 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:440 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:441 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:442 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:443 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:444 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:465 invalid dimen
at com.android.ide.common.res2.MergedResourceWriter.postWriteAction(MergedResourceWriter.java:625)
at com.android.ide.common.res2.MergeWriter.end(MergeWriter.java:46)
at com.android.ide.common.res2.MergedResourceWriter.end(MergedResourceWriter.java:238)
at com.android.ide.common.res2.DataMerger.mergeData(DataMerger.java:301)
at com.android.ide.common.res2.ResourceMerger.mergeData(ResourceMerger.java:412)
at com.android.build.gradle.tasks.MergeResources.doFullTaskAction(MergeResources.java:262)
... 39 more
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: com.android.builder.internal.aapt.AaptException: AAPT2 compile failed:
aapt2 compile --legacy -o /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/res/merged/debug /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml
Issues:
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:395 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:396 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:436 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:437 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:438 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:439 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:440 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:441 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:442 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:443 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:444 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:465 invalid dimen
at com.android.ide.common.res2.MergedResourceWriter.postWriteAction(MergedResourceWriter.java:596)
... 44 more
Caused by: java.lang.RuntimeException: com.android.builder.internal.aapt.AaptException: AAPT2 compile failed:
aapt2 compile --legacy -o /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/res/merged/debug /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml
Issues:
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:395 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:396 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:436 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:437 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:438 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:439 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:440 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:441 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:442 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:443 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:444 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:465 invalid dimen
... 45 more
Caused by: com.android.builder.internal.aapt.AaptException: AAPT2 compile failed:
aapt2 compile --legacy -o /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/res/merged/debug /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml
Issues:
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:395 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:396 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:436 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:437 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:438 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:439 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:440 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:441 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:442 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:443 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:444 invalid dimen
- ERROR: /home/alexandr/AndroidStudioProjects/MyApplication/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:465 invalid dimen
at com.android.builder.internal.aapt.v2.AaptV2Jni.buildException(AaptV2Jni.java:154)
at com.android.builder.internal.aapt.v2.AaptV2Jni.lambda$compile$0(AaptV2Jni.java:115)
... 45 more
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
7 actionable tasks: 1 executed, 6 up-to-date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.