Android Studio compilation error:
java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Error while executing process D:\android\sdk\build-tools\26.0.2\aapt.exe with arguments {package -f –no-crunch -I D:\android\sdk\platforms\android-26\android.jar -M \\?\D:\android\test\build\intermediates\manifests\full\debug\AndroidManifest.xml -S D:\android\test\build\intermediates\res\merged\debug -m -J \\?\D:\android\test\build\generated\source\r\debug -F D:\android\test\build\intermediates\res\debug\resources-debug.ap_ -D \\?\D:\android\test\build\intermediates\multi-dex\debug\manifest_keep.txt –custom-package com.test -0 apk –output-text-symbols \\?\D:\android\test\build\intermediates\symbols\debug –no-version-vectors} com.android.ide.common.process.ProcessException: Error while executing process D:\android\sdk\build-tools\26.0.2\aapt.exe with arguments {package -f –no-crunch -I D:\android\sdk\platforms\android-26\android.jar -M \\?\D:\android\test\build\intermediates\manifests\full\debug\AndroidManifest.xml -S D:\android\test\build\intermediates\res\merged\debug -m -J \\?\D:\android\test\build\generated\source\r\debug -F D:\android\test\build\intermediates\res\debug\resources-debug.ap_ -D \\?\D:\android\test\build\intermediates\multi-dex\debug\manifest_keep.txt –custom-package com.test -0 apk –output-text-symbols \\?\D:\android\test\build\intermediates\symbols\debug –no-version-vectors} org.gradle.process.internal.ExecException: Process ‘command ‘D:\android\sdk\build-tools\26.0.2\aapt.exe” finished with non-zero exit value 1 java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Error while executing process D:\android\sdk\build-tools\26.0.2\aapt.exe with arguments {package -f –no-crunch -I D:\android\sdk\platforms\android-26\android.jar -M \\?\D:\android\test\build\intermediates\manifests\full\debug\AndroidManifest.xml -S D:\android\test\build\intermediates\res\merged\debug -m -J \\?\D:\android\test\build\generated\source\r\debug -F D:\android\test\build\intermediates\res\debug\resources-debug.ap_ -D \\?\D:\android\test\build\intermediates\multi-dex\debug\manifest_keep.txt –custom-package com.test -0 apk –output-text-symbols \\?\D:\android\test\build\intermediates\symbols\debug –no-version-vectors} com.android.ide.common.process.ProcessException: Error while executing process D:\android\sdk\build-tools\26.0.2\aapt.exe with arguments {package -f –no-crunch -I D:\android\sdk\platforms\android-26\android.jar -M \\?\D:\android\test\build\intermediates\manifests\full\debug\AndroidManifest.xml -S D:\android\test\build\intermediates\res\merged\debug -m -J \\?\D:\android\test\build\generated\source\r\debug -F D:\android\test\build\intermediates\res\debug\resources-debug.ap_ -D \\?\D:\android\test\build\intermediates\multi-dex\debug\manifest_keep.txt –custom-package com.test -0 apk –output-text-symbols \\?\D:\android\test\build\intermediates\symbols\debug –no-version-vectors} org.gradle.process.internal.ExecException: Process ‘command ‘D:\android\sdk\build-tools\26.0.2\aapt.exe” finished with non-zero exit value 1 |
Execute the following command in the command line to view the detailed error report (you need to switch to the current project directory first):
Windows: gradlew clean build –stacktrace
MAC/Linux: ./gradlew clean build –stacktrace To
view the detailed error report, the following error is found:
\\?\D:\android\test\build\intermediates\manifests\full\debug\AndroidManifest.xml:33: AAPT: No resource identifier found for attribute’appComponentFactory’ in package’android’
\\?\D:\ android\test\build\intermediates\manifests\full\debug\AndroidManifest.xml:33: error: No resource identifier found for attribute’appComponentFactory’ in package’android’
Solution:
unify compileSdkVersion for 28
Read More:
- Android solution Java.util.concurrent.ExecutionException: com.Android.ide.common.process.ProcessException: exception
- kakfa Create topic Error: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.InvalidReplicationFactorException: Replication factor: 3 larger than available brokers: 2.
- [Solved] java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]
- [Solved] android Execution failed for task ‘:app:processDebugManifest‘
- Android Studio Cannot resolve symbol [How to Solve]
- Android Studio Error: Error:moudle not specified [How to Solve]
- [Solved] Scala error: type mismatch; found : java.util.List[?0] required: java.util.List[B]
- [Solved] AndroidStudio Error: Could not initialize class com.android.sdklib.repository.AndroidSdkHandler
- [Solved] Java: compilation failed: internal java compiler error
- [Solved] java: Compilation failed: internal java compiler error
- IntelliJ idea compilation error: Error:java : Compilation failed: internal java compiler error
- [Solved] fragment error: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.myapplication/com.example.myapplication.MainActivity}…
- [Solved] Failed to instantiate java.util.List using constructor NO_CONSTRUCTOR with arguments
- Error:Abnormal build process termination [How to Solve]
- [Solved] com.highgo.jdbc.util.PSQLException:bad value for long
- [Solved] IDEA java compile error: Error:java: Compilation failed: internal java compiler error
- Java Error | Error:java: Compilation failed: internal java compiler error
- [Solved]Error:java: Compilation failed: internal java compiler error
- [Solved] Failed to convert value of type ‘java.lang.String‘ to required type ‘java.util.Date‘;
- [Solved] Error:java: Compilation failed: internal java compiler error