question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

\Android\sdk\build-tools\23.0.1\aapt.exe'' finished with non-zero exit value 1

See original GitHub issue

Hi @mcnamee, Running the react-native-starter-app it fails in my environment with the error:

:react-native-device-info:processReleaseResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-device-info:processReleaseResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Brian\AppData\Local\Android\sdk\build-tools\23.0.1\aapt.exe'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED

Is there a way to get a more detailed stack trace using the react-native run-android command? At the moment this error doesn’t give enough detail as to what’s up.

Thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

24reactions
vvasiloudcommented, Mar 25, 2017

Update: There is a problem in Windows when the file path is very long. Try renaming the project folder name and/or moving the folder direct to root path. That solved the problem. 😃

7reactions
rizwanellahicommented, Apr 2, 2017

Solved: Thanks @vvasiloud

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to fix 23.0.1\aapt.exe'' finished with non-zero exit value 1
First try to clean and rebuild your project from Build menu. Step 1: go to Build -> Clean Project. Step 2: go to...
Read more >
How to Fix: aapt.exe'' finished with non-zero exit value 1
In this video you'll learn how to fix "aapt.exe' finished with non-zero exit value 1 " error.Liked content of this channel?
Read more >
Process 'command 'E:\AndroidStudio\jre\bin\java.exe'' finished ...
After adding implementation 'com.airbnb.android:lottie:2.3.1' not able ... finished with non-zero exit value 1 Details Log `org.gradle.api.tas.
Read more >
#827216 - android-sdk: Process 'command 'aapt'' finished with ...
Debian Bug report logs - #827216 android-sdk: Process 'command 'aapt'' finished with non-zero exit value 134. version graph. Package: android- ...
Read more >
finished with non-zero exit value 1 [37043603] - Issue Tracker
When i update grandle plugin version .i dnt know what happen jst i update my grandel plugin and its error is surprising me.plz...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found