-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
[0.59.8] Android release build fails #24987
Comments
you must use Android Gradle plugin 3.3.x with 0.59.x. 0.60 will support Android Gradle Plugin 3.4.x. |
dulmandakh: I tried multiple versions of the Android Gradle plugin, including 3.3.1 and 3.3.0 with no success. So, I don't believe this issue should be closed. |
Hi all, i am facing the exact same issue. Environment:
Anyone have any solution so far? |
same bug |
React Native Environment Info: |
@dulmandakh Hi how can i do? pls help me,thx |
@dulmandakh same issue:
Gradle Scan output (absolute app path replaced with {APP_PATH})
|
Why this closed? I got the same issue, here my environment:
|
I solved that issue by creating fresh app with ‘react-native init’ and configuring release build type. |
Facing this issue with release build but works abs fine in debug build. Environment ::
Is it some proguard issue or gradle one ? |
Since this issue is still closed, devs aren't answering and I'm still experiencing the issue even after attempting a number of version alternatives, including the just released 0.60.0, I created a new issue. |
React Native Environment Info:
System:
OS: macOS 10.14.5
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Memory: 1.74 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.15.3 - /usr/local/bin/node
Yarn: 1.16.0 - /usr/local/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
Android SDK:
API Levels: 23, 24, 26, 27, 28
Build Tools: 23.0.1, 26.0.2, 27.0.3, 28.0.3
System Images: android-23 | Google APIs Intel x86 Atom, android-24 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.4 AI-183.6156.11.34.5522156
Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.3 => 16.8.3
react-native: 0.59.8 => 0.59.8
npmGlobalPackages:
react-native-cli: 2.0.1
Gradle: com.android.tools.build:gradle:3.4.1
Steps To Reproduce
Describe what you expected to happen:
Android Studio would build an unsigned release *.apk file.
What actually happens:
FAILURE: Build failed with an exception.
Execution failed for task ':app:bundleReleaseJsAndAssets'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 32s
1 actionable task: 1 executed
ERROR: Process 'command 'node'' finished with non-zero exit value 1
The text was updated successfully, but these errors were encountered: