Repository navigation
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
Copy link
Copy link
Closed
Labels
BugPlatform: AndroidAndroid applications.Android applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
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
- The week before last, I suddenly couldn't compile the project.
- 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}



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:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugPlatform: AndroidAndroid applications.Android applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Activity
react-native-bot commentedon Jul 10, 2019
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.
Details
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 commentedon Jul 14, 2019
I can't upgrade because other libraries of my project are not easy to change
react-native-bot commentedon Jul 31, 2019
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.