-
Notifications
You must be signed in to change notification settings - Fork 3
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
App crash on Android device, with error "libgnustl_shared.so is 32-bit instead of 64-bit" #12
Comments
this helped for me:
under
|
@liorJuice Do you want to make PR :)? If this solution works well for emulator and devices, it can be merged into the Android template. |
Suggested fix allows the app to run on a physical Android device@liorJuice , thank you very much for your fix! After applying your fix, I managed to run an app freshly created with Now that you have pointed out this setting, I just checked that the ./android/app/build.gradle for every reactxp's sample project, and indeed the
Effects of
|
Published new version which includes |
Is there any plan to release the 64 bits libraries to meet Google's Play store requirement?
|
@a-tarasyuk , There hasn't been any activity on this issue. Is it more appropriate if I a post new request for 64 bits libraries for Android on https://github.com/Microsoft/reactxp/issues ? |
@gabeljz |
Using RN 0.60.5 version. packagingOptions { //In pickFirst, replace the library name with the library that is causing error. If you do not know which library is causing the crash, upload your bundle in Firebase test lab and then check. It will tell you which library is throwing the error |
App created with
create-rx-app
will crash immediately upon launch on a physical Android device. The run log in Android Studio shows the error message "libgnustl_shared.so is 32-bit instead of 64-bit".Expected the app to run on a physical Android device without any problem, just like running in the simulator.
Environment set up
I am able to run Android apps from other projects on these two physical devices via Android Studio or
react-native run-android
, so the problem is unlikely to be caused by my environment set up. Projects whose Android app can be successfully run on both physical devices:react-native init
Steps to reproduce the error
create-rx-app fresh
cd fresh
adb devices
to confirm that the device is detected.adb reverse tcp:8081 tcp:8081
yarn start:rn-dev-server
Note: This freshly created reactxp app can run successfully on Android simulator without any problems.
Run log from Android Studio
The text was updated successfully, but these errors were encountered: