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

Closed

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:

Activity

  1. react-native-bot commented on Jul 10, 2019

    @react-native-bot
    Collaborator

    It looks like you are using an older version of React Native. Please update to the latest release, v0.60 and verify if the issue still exists.

    DetailsThe "Resolution: Old Version" label will be removed automatically once you edit your original post with the results of running `react-native info` on a project using the latest release.
  2. BigWolf286 commented on Jul 14, 2019

    @BigWolf286
    Author

    I can't upgrade because other libraries of my project are not easy to change

  3. react-native-bot commented on Jul 31, 2019

    @react-native-bot
    Collaborator

    I am closing this issue because it does not appear to have been verified on the latest release, and there has been no followup in a while.

    If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here.

  4. locked as resolved and limited conversation to collaborators on Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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