Skip to content

Caused by: org.gradle.process.internal.ExecException: Process 'command 'D:\Android\sdk\build-tools\26.0.2\aapt.exe'' finished with non-zero exit value 1 #25577

@BigWolf286

Description

@BigWolf286

React Native version:

Environment:
OS: Windows 10
Node: 10.15.3
Yarn: 1.15.2
npm: 6.4.1
Watchman: Not Found
Xcode: N/A
Android Studio: Version 3.2.0.0 AI-181.5540.7.32.5014246

Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.51.0 => 0.51.0

Steps To Reproduce

  1. The week before last, I suddenly couldn't compile the project.
  2. The exception information is as follows
    01 Caused by: 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-27\android.jar -M \?\D:\project\judicial\src\judicial\android\app\build\intermediates\manifests\full\debug\AndroidManifest.xml -S D:\project\judicial\src\judicial\android\app\build\intermediates\res\merged\debug -m -J \?\D:\project\judicial\src\judicial\android\app\build\generated\source\r\debug -F D:\project\judicial\src\judicial\android\app\build\intermediates\res\debug\resources-debug.ap_ -D \?\D:\project\judicial\src\judicial\android\app\build\intermediates\multi-dex\debug\manifest_keep.txt --custom-package com.xhgc.judicial -0 apk --output-text-symbols \?\D:\project\judicial\src\judicial\android\app\build\intermediates\symbols\debug --no-version-vectors}
    image
    image
    image

02

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-27\android.jar -M \?\D:\project\judicial\src\judicial\android\app\build\intermediates\manifests\full\debug\AndroidManifest.xml -S D:\project\judicial\src\judicial\android\app\build\intermediates\res\merged\debug -m -J \?\D:\project\judicial\src\judicial\android\app\build\generated\source\r\debug -F D:\project\judicial\src\judicial\android\app\build\intermediates\res\debug\resources-debug.ap_ -D \?\D:\project\judicial\src\judicial\android\app\build\intermediates\multi-dex\debug\manifest_keep.txt --custom-package com.xhgc.judicial -0 apk --output-text-symbols \?\D:\project\judicial\src\judicial\android\app\build\intermediates\symbols\debug --no-version-vectors}  

03

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-27\android.jar -M \?\D:\project\judicial\src\judicial\android\app\build\intermediates\manifests\full\debug\AndroidManifest.xml -S D:\project\judicial\src\judicial\android\app\build\intermediates\res\merged\debug -m -J \?\D:\project\judicial\src\judicial\android\app\build\generated\source\r\debug -F D:\project\judicial\src\judicial\android\app\build\intermediates\res\debug\resources-debug.ap_ -D \?\D:\project\judicial\src\judicial\android\app\build\intermediates\multi-dex\debug\manifest_keep.txt --custom-package com.xhgc.judicial -0 apk --output-text-symbols \?\D:\project\judicial\src\judicial\android\app\build\intermediates\symbols\debug --no-version-vectors}  

04

org.gradle.process.internal.ExecException: Process 'command 'D:\Android\sdk\build-tools\26.0.2\aapt.exe'' finished with non-zero exit value 1  

Describe what you expected to happen: Running project please help me

Snack, code example, or link to a repository:

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugPlatform: AndroidAndroid applications.Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions