Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
BigWolf286 opened this issue Jul 10, 2019 · 3 comments
Labels
Bug Platform: Android Android applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@BigWolf286
Copy link

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:

@BigWolf286 BigWolf286 added the Bug label Jul 10, 2019
@react-native-bot react-native-bot added the Platform: Android Android applications. label Jul 10, 2019
@react-native-bot
Copy link
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.

The "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.

@BigWolf286
Copy link
Author

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

@react-native-bot
Copy link
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.

@react-native-bot react-native-bot added the Ran Commands One of our bots successfully processed a command. label Jul 31, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Oct 9, 2021
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Platform: Android Android applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants