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

Crashing issue in android release build #48

Closed
ivancheng1214 opened this issue May 30, 2024 · 3 comments
Closed

Crashing issue in android release build #48

ivancheng1214 opened this issue May 30, 2024 · 3 comments
Labels
wontfix This will not be worked on

Comments

@ivancheng1214
Copy link

Hello, I am working on zendesk messaging in react native.
When I have build the android app in debug mode using react-native run-android --mode=devDebug, it works well.
But when building it in release mode using app:assembleDevRelease, it stops when app runs.

Here is my react native info:

System:
OS: macOS 14.3
CPU: (6) x64 Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz
Memory: 5.11 GB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.17.1
path: ~/.nvm/versions/node/v18.17.1/bin/node
Yarn:
version: 1.22.19
path: /usr/local/bin/yarn
npm:
version: 9.6.7
path: ~/.nvm/versions/node/v18.17.1/bin/npm
Watchman:
version: 2023.01.02.00
path: /usr/local/bin/watchman
SDKs:
Android SDK:
API Levels:

  • "26"
  • "27"
  • "28"
  • "29"
  • "30"
  • "31"
  • "33"
  • "34"
    Build Tools:
  • 30.0.2
  • 30.0.3
  • 33.0.0
  • 33.0.1
  • 34.0.0
    System Images:
  • android-28 | Google APIs Intel x86 Atom
  • android-29 | Intel x86 Atom_64
  • android-29 | Google APIs Intel x86 Atom
  • android-29 | Google APIs Intel x86 Atom_64
  • android-29 | Google Play Intel x86 Atom
  • android-30 | Google APIs Intel x86 Atom
  • android-30 | Google Play Intel x86 Atom
  • android-31 | Google APIs Intel x86_64 Atom
  • android-31 | Google Play Intel x86_64 Atom
  • android-33 | Google APIs ARM 64 v8a
  • android-33 | Google APIs Intel x86 Atom_64
  • android-33 | Google Play ARM 64 v8a
  • android-33 | Google Play Intel x86 Atom_64
    Android NDK: Not Found
    IDEs:
    Android Studio: 2023.3 AI-233.14808.21.2331.11709847
    Languages:
    Java:
    version: 17.0.11
    path: /usr/bin/javac
    Ruby:
    version: 3.1.2
    path: /usr/local/opt/ruby/bin/ruby
    npmPackages:
    "@react-native-community/cli": Not Found
    react:
    installed: 18.2.0
    wanted: 18.2.0
    react-native:
    installed: 0.73.6
    wanted: 0.73.6
    react-native-macos: Not Found
    npmGlobalPackages:
    "react-native": Not Found
    Android:
    hermesEnabled: true
    newArchEnabled: false

How can I solve the issue?

Copy link

stale bot commented Jun 29, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jun 29, 2024
@cesasol
Copy link

cesasol commented Jul 2, 2024

In the proguard rules add:

-keepnames class zendesk.** { *; }
-keep class org.json.**
-keepclassmembers,includedescriptorclasses class org.json.** { *; }

@stale stale bot removed the wontfix This will not be worked on label Jul 2, 2024
Copy link

stale bot commented Aug 1, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Aug 1, 2024
@stale stale bot closed this as completed Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants