0

I have an app built with react-native 0.52.0. After receiving notification from google, I am trying make it supportable for 64bit as well.

So I tried adding these

ndk {
       abiFilters 'armeabi-v7a','x86', 'x86_64', 'arm64-v8a'
    } 

But I was getting,

"java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/my.com.app/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit"

So I tried analysing the apk file, and I got to know the .so files inside x86 and x86_64 are not same. Here is a screenshot

How can I overcome this ?

Thank you.

Kiran Uppunda
  • 43
  • 1
  • 6
  • I think you need to upgrade RN to 0.59 for 64bit support. This might help https://stackoverflow.com/questions/48732351/64-bit-version-issue-in-react-native-android-app-by-google-play-store – Amar Jul 16 '19 at 06:30
  • Please note, the upgrade process from lower RN to 0.59 is a bit tricky. Might help to follow [instructions provided in release notes](https://facebook.github.io/react-native/blog/2019/03/12/releasing-react-native-059#upgrading-to-059). – Amar Jul 16 '19 at 06:34
  • Are you trying to make separate Apk for each architecture ? – Siraj Ahmad Jul 16 '19 at 06:59
  • @Amar, oh okay. thank you. I will try upgrading the RN. – Kiran Uppunda Jul 16 '19 at 07:15

0 Answers0