React native expection java.lang.UnsatisfiedLinkError: dlopen failed: “/data/data/package/lib-main/libgnustl_shared.so” is 32-bit instead of 64-bitjava.lang.UnsatisfiedLinkError: dlopen failed: “/data/data/seed.sharecode/files/libs/libBaiduMapSDK_base_v5_2_1.so” is 32-bit instead of 64-bitUnable to run react native release build for androidReact-Native Release APK crashesReact Native android build failed. SDK location not foundChange package name for Android in React NativeError to build when update gradle dependency 9.4.0 to 9.6.1Cannot resolve symbols AppCompatActivity and GoogleApiClientandroid: dlopen failed to load not 32 bitjava.lang.UnsatisfiedLinkError: dlopen failed 64-bit instead of 32-bit while .so should be built in x86java.lang.UnsatisfiedLinkError: dlopen failed: .so library is 64-bit instead of 32-bitOverriding old version of libgnustl_shared.so in react-native on AndroidReact Native Maps Error compile debugJavaWithJavacHow do I manually set same version(compile and runtime classpath) via DependencyResolution in Android Studio/react native

I see my dog run

Series about a young woman who can sense supernatural beings and works in auto repair

DOS, create pipe for stdin/stdout of command.com(or 4dos.com) in C or Batch?

How old can references or sources in a thesis be?

how to create a data type and make it available in all Databases?

What is the offset in a seaplane's hull?

Patience, young "Padovan"

Download, install and reboot computer at night if needed

Email Account under attack (really) - anything I can do?

How to delete an array properly in Java

"The augmented fourth (A4) and the diminished fifth (d5) are the only augmented and diminished intervals that appear in diatonic scales"

Where can I find documents from the Nuremberg trials about war crimes of the Wehrmacht in the Soviet Union?

Finding files for which a command fails

Riemann Rearrangement theorem and uncountable reals

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

Manga about a female worker who got dragged into another world together with this high school girl and she was just told she's not needed anymore

Where to refill my bottle in India?

Can you lasso down a wizard who is using the Levitate spell?

Can I make popcorn with any corn?

Is it legal to have the "// (c) 2019 John Smith" header in all files when there are hundreds of contributors?

How can bays and straits be determined in a procedurally generated map?

XeLaTeX and pdfLaTeX ignore hyphenation

How do I create uniquely male characters?

Extreme, but not acceptable situation and I can't start the work tomorrow morning



React native expection java.lang.UnsatisfiedLinkError: dlopen failed: “/data/data/package/lib-main/libgnustl_shared.so” is 32-bit instead of 64-bit


java.lang.UnsatisfiedLinkError: dlopen failed: “/data/data/seed.sharecode/files/libs/libBaiduMapSDK_base_v5_2_1.so” is 32-bit instead of 64-bitUnable to run react native release build for androidReact-Native Release APK crashesReact Native android build failed. SDK location not foundChange package name for Android in React NativeError to build when update gradle dependency 9.4.0 to 9.6.1Cannot resolve symbols AppCompatActivity and GoogleApiClientandroid: dlopen failed to load not 32 bitjava.lang.UnsatisfiedLinkError: dlopen failed 64-bit instead of 32-bit while .so should be built in x86java.lang.UnsatisfiedLinkError: dlopen failed: .so library is 64-bit instead of 32-bitOverriding old version of libgnustl_shared.so in react-native on AndroidReact Native Maps Error compile debugJavaWithJavacHow do I manually set same version(compile and runtime classpath) via DependencyResolution in Android Studio/react native






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








10















I am trying to integrate React Native with my existing Android App. I am getting the following exception, when initilizing React Native Screen:




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




The App is only crashing on 64-bit devices.



As per my learning so far, I've found this issue reported on React Native Repo, but the solution suggested in this thread is not helpful as I am not using any external SO library in existing App.



Apart from above, I've realized another difference in library structure on the device where my App is installed. I am comparing structure of my App vs react native demo app.



React demo App



root@generic_x86_64:**/data/data/com.react.demo/lib** # ls
libfb.so
libfolly_json.so
libglog.so
libglog_init.so
libgnustl_shared.so
libicu_common.so
libimagepipeline.so
libjsc.so
libreactnativejni.so
libreactnativejnifb.so

root@generic_x86_64:/data/data/**com.react.demo**/lib-main # ls
dso_deps
dso_lock
dso_manifest
dso_state


My App



root@generic_x86_64:/data/data/**com.my.app**/lib-main # ls
dso_deps
dso_lock
dso_manifest
dso_state
libfb.so
libfolly_json.so
libglog.so
libglog_init.so
libgnustl_shared.so
libicu_common.so
libimagepipeline.so
libjsc.so
libreactnativejni.so
libreactnativejnifb.so


Sharing few more details about my project:



package.json




"name": "projectname",
"version": "1.0.0",
"description": "Native NPM",
"main": "index.js",
"scripts":
"test": "echo "Error: no test specified" && exit 1",
"start": "node node_modules/react-native/local-cli/cli.js start"
,
"repository":
"type": "git",
"url": ""
,
"author": "Ishan D",
"license": "ISC",
"dependencies":
"react": "^15.3.2",
"react-native": "^0.37.0",
"react-native-linear-gradient": "^1.5.15",
"rn-viewpager": "^1.1.3"
,
"devDependencies":



dependencies used in android native project



ext 
compileSdkVersion = 24
buildToolsVersion = '24.0.2'
minSdkVersion = 16
targetSdkVersion = 24
supportLibrariesVersion = '23.0.1'
playServiceVersion = '9.0.2'

dep = [
fabricPlugin : 'io.fabric',
fabricMavenUrl : 'https://maven.fabric.io/public',
fabricClasspath : 'io.fabric.tools:gradle:1.+',

playServiceClasspath : 'com.google.gms:google-services:1.3.0-beta1',
playServicePlugin : 'com.google.gms.google-services',

playServiceAppindexing: "com.google.android.gms:play-services-appindexing:$playServiceVersion",
playServiceLocation : "com.google.android.gms:play-services-location:$playServiceVersion",
playServiceVision : "com.google.android.gms:play-services-vision:$playServiceVersion",
playServiceAuth : "com.google.android.gms:play-services-auth:$playServiceVersion",
playServiceBase : "com.google.android.gms:play-services-base:$playServiceVersion",
playServiceIdentity : "com.google.android.gms:play-services-identity:$playServiceVersion",
playServiceAnalytics : "com.google.android.gms:play-services-analytics:$playServiceVersion",
playServiceGcm : "com.google.android.gms:play-services-gcm:$playServiceVersion",

underCouchClasspath : 'de.undercouch:gradle-download-task:2.0.0',
underCouchPluigin : 'de.undercouch.download',

crashlytics : 'com.crashlytics.sdk.android:crashlytics:2.4.0@aar',

moengage : 'com.moengage:moe-android-sdk:6.0.29',

supportV4 : "com.android.support:support-v4:$supportLibrariesVersion",
supportAppCompatV7 : "com.android.support:appcompat-v7:$supportLibrariesVersion",
supportCardviewV7 : "com.android.support:cardview-v7:$supportLibrariesVersion",
supportDesignV7 : "com.android.support:design:$supportLibrariesVersion",

okhttp : 'com.squareup.okhttp:okhttp:2.5.0',
junit : 'junit:junit:4.12',
mockito : 'org.mockito:mockito-core:1.10.19'
]



Any clue is appreciated.



PS: I know react-native does support 64-bit binaries and I am not using any external library.










share|improve this question




























    10















    I am trying to integrate React Native with my existing Android App. I am getting the following exception, when initilizing React Native Screen:




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




    The App is only crashing on 64-bit devices.



    As per my learning so far, I've found this issue reported on React Native Repo, but the solution suggested in this thread is not helpful as I am not using any external SO library in existing App.



    Apart from above, I've realized another difference in library structure on the device where my App is installed. I am comparing structure of my App vs react native demo app.



    React demo App



    root@generic_x86_64:**/data/data/com.react.demo/lib** # ls
    libfb.so
    libfolly_json.so
    libglog.so
    libglog_init.so
    libgnustl_shared.so
    libicu_common.so
    libimagepipeline.so
    libjsc.so
    libreactnativejni.so
    libreactnativejnifb.so

    root@generic_x86_64:/data/data/**com.react.demo**/lib-main # ls
    dso_deps
    dso_lock
    dso_manifest
    dso_state


    My App



    root@generic_x86_64:/data/data/**com.my.app**/lib-main # ls
    dso_deps
    dso_lock
    dso_manifest
    dso_state
    libfb.so
    libfolly_json.so
    libglog.so
    libglog_init.so
    libgnustl_shared.so
    libicu_common.so
    libimagepipeline.so
    libjsc.so
    libreactnativejni.so
    libreactnativejnifb.so


    Sharing few more details about my project:



    package.json




    "name": "projectname",
    "version": "1.0.0",
    "description": "Native NPM",
    "main": "index.js",
    "scripts":
    "test": "echo "Error: no test specified" && exit 1",
    "start": "node node_modules/react-native/local-cli/cli.js start"
    ,
    "repository":
    "type": "git",
    "url": ""
    ,
    "author": "Ishan D",
    "license": "ISC",
    "dependencies":
    "react": "^15.3.2",
    "react-native": "^0.37.0",
    "react-native-linear-gradient": "^1.5.15",
    "rn-viewpager": "^1.1.3"
    ,
    "devDependencies":



    dependencies used in android native project



    ext 
    compileSdkVersion = 24
    buildToolsVersion = '24.0.2'
    minSdkVersion = 16
    targetSdkVersion = 24
    supportLibrariesVersion = '23.0.1'
    playServiceVersion = '9.0.2'

    dep = [
    fabricPlugin : 'io.fabric',
    fabricMavenUrl : 'https://maven.fabric.io/public',
    fabricClasspath : 'io.fabric.tools:gradle:1.+',

    playServiceClasspath : 'com.google.gms:google-services:1.3.0-beta1',
    playServicePlugin : 'com.google.gms.google-services',

    playServiceAppindexing: "com.google.android.gms:play-services-appindexing:$playServiceVersion",
    playServiceLocation : "com.google.android.gms:play-services-location:$playServiceVersion",
    playServiceVision : "com.google.android.gms:play-services-vision:$playServiceVersion",
    playServiceAuth : "com.google.android.gms:play-services-auth:$playServiceVersion",
    playServiceBase : "com.google.android.gms:play-services-base:$playServiceVersion",
    playServiceIdentity : "com.google.android.gms:play-services-identity:$playServiceVersion",
    playServiceAnalytics : "com.google.android.gms:play-services-analytics:$playServiceVersion",
    playServiceGcm : "com.google.android.gms:play-services-gcm:$playServiceVersion",

    underCouchClasspath : 'de.undercouch:gradle-download-task:2.0.0',
    underCouchPluigin : 'de.undercouch.download',

    crashlytics : 'com.crashlytics.sdk.android:crashlytics:2.4.0@aar',

    moengage : 'com.moengage:moe-android-sdk:6.0.29',

    supportV4 : "com.android.support:support-v4:$supportLibrariesVersion",
    supportAppCompatV7 : "com.android.support:appcompat-v7:$supportLibrariesVersion",
    supportCardviewV7 : "com.android.support:cardview-v7:$supportLibrariesVersion",
    supportDesignV7 : "com.android.support:design:$supportLibrariesVersion",

    okhttp : 'com.squareup.okhttp:okhttp:2.5.0',
    junit : 'junit:junit:4.12',
    mockito : 'org.mockito:mockito-core:1.10.19'
    ]



    Any clue is appreciated.



    PS: I know react-native does support 64-bit binaries and I am not using any external library.










    share|improve this question
























      10












      10








      10


      1






      I am trying to integrate React Native with my existing Android App. I am getting the following exception, when initilizing React Native Screen:




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




      The App is only crashing on 64-bit devices.



      As per my learning so far, I've found this issue reported on React Native Repo, but the solution suggested in this thread is not helpful as I am not using any external SO library in existing App.



      Apart from above, I've realized another difference in library structure on the device where my App is installed. I am comparing structure of my App vs react native demo app.



      React demo App



      root@generic_x86_64:**/data/data/com.react.demo/lib** # ls
      libfb.so
      libfolly_json.so
      libglog.so
      libglog_init.so
      libgnustl_shared.so
      libicu_common.so
      libimagepipeline.so
      libjsc.so
      libreactnativejni.so
      libreactnativejnifb.so

      root@generic_x86_64:/data/data/**com.react.demo**/lib-main # ls
      dso_deps
      dso_lock
      dso_manifest
      dso_state


      My App



      root@generic_x86_64:/data/data/**com.my.app**/lib-main # ls
      dso_deps
      dso_lock
      dso_manifest
      dso_state
      libfb.so
      libfolly_json.so
      libglog.so
      libglog_init.so
      libgnustl_shared.so
      libicu_common.so
      libimagepipeline.so
      libjsc.so
      libreactnativejni.so
      libreactnativejnifb.so


      Sharing few more details about my project:



      package.json




      "name": "projectname",
      "version": "1.0.0",
      "description": "Native NPM",
      "main": "index.js",
      "scripts":
      "test": "echo "Error: no test specified" && exit 1",
      "start": "node node_modules/react-native/local-cli/cli.js start"
      ,
      "repository":
      "type": "git",
      "url": ""
      ,
      "author": "Ishan D",
      "license": "ISC",
      "dependencies":
      "react": "^15.3.2",
      "react-native": "^0.37.0",
      "react-native-linear-gradient": "^1.5.15",
      "rn-viewpager": "^1.1.3"
      ,
      "devDependencies":



      dependencies used in android native project



      ext 
      compileSdkVersion = 24
      buildToolsVersion = '24.0.2'
      minSdkVersion = 16
      targetSdkVersion = 24
      supportLibrariesVersion = '23.0.1'
      playServiceVersion = '9.0.2'

      dep = [
      fabricPlugin : 'io.fabric',
      fabricMavenUrl : 'https://maven.fabric.io/public',
      fabricClasspath : 'io.fabric.tools:gradle:1.+',

      playServiceClasspath : 'com.google.gms:google-services:1.3.0-beta1',
      playServicePlugin : 'com.google.gms.google-services',

      playServiceAppindexing: "com.google.android.gms:play-services-appindexing:$playServiceVersion",
      playServiceLocation : "com.google.android.gms:play-services-location:$playServiceVersion",
      playServiceVision : "com.google.android.gms:play-services-vision:$playServiceVersion",
      playServiceAuth : "com.google.android.gms:play-services-auth:$playServiceVersion",
      playServiceBase : "com.google.android.gms:play-services-base:$playServiceVersion",
      playServiceIdentity : "com.google.android.gms:play-services-identity:$playServiceVersion",
      playServiceAnalytics : "com.google.android.gms:play-services-analytics:$playServiceVersion",
      playServiceGcm : "com.google.android.gms:play-services-gcm:$playServiceVersion",

      underCouchClasspath : 'de.undercouch:gradle-download-task:2.0.0',
      underCouchPluigin : 'de.undercouch.download',

      crashlytics : 'com.crashlytics.sdk.android:crashlytics:2.4.0@aar',

      moengage : 'com.moengage:moe-android-sdk:6.0.29',

      supportV4 : "com.android.support:support-v4:$supportLibrariesVersion",
      supportAppCompatV7 : "com.android.support:appcompat-v7:$supportLibrariesVersion",
      supportCardviewV7 : "com.android.support:cardview-v7:$supportLibrariesVersion",
      supportDesignV7 : "com.android.support:design:$supportLibrariesVersion",

      okhttp : 'com.squareup.okhttp:okhttp:2.5.0',
      junit : 'junit:junit:4.12',
      mockito : 'org.mockito:mockito-core:1.10.19'
      ]



      Any clue is appreciated.



      PS: I know react-native does support 64-bit binaries and I am not using any external library.










      share|improve this question














      I am trying to integrate React Native with my existing Android App. I am getting the following exception, when initilizing React Native Screen:




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




      The App is only crashing on 64-bit devices.



      As per my learning so far, I've found this issue reported on React Native Repo, but the solution suggested in this thread is not helpful as I am not using any external SO library in existing App.



      Apart from above, I've realized another difference in library structure on the device where my App is installed. I am comparing structure of my App vs react native demo app.



      React demo App



      root@generic_x86_64:**/data/data/com.react.demo/lib** # ls
      libfb.so
      libfolly_json.so
      libglog.so
      libglog_init.so
      libgnustl_shared.so
      libicu_common.so
      libimagepipeline.so
      libjsc.so
      libreactnativejni.so
      libreactnativejnifb.so

      root@generic_x86_64:/data/data/**com.react.demo**/lib-main # ls
      dso_deps
      dso_lock
      dso_manifest
      dso_state


      My App



      root@generic_x86_64:/data/data/**com.my.app**/lib-main # ls
      dso_deps
      dso_lock
      dso_manifest
      dso_state
      libfb.so
      libfolly_json.so
      libglog.so
      libglog_init.so
      libgnustl_shared.so
      libicu_common.so
      libimagepipeline.so
      libjsc.so
      libreactnativejni.so
      libreactnativejnifb.so


      Sharing few more details about my project:



      package.json




      "name": "projectname",
      "version": "1.0.0",
      "description": "Native NPM",
      "main": "index.js",
      "scripts":
      "test": "echo "Error: no test specified" && exit 1",
      "start": "node node_modules/react-native/local-cli/cli.js start"
      ,
      "repository":
      "type": "git",
      "url": ""
      ,
      "author": "Ishan D",
      "license": "ISC",
      "dependencies":
      "react": "^15.3.2",
      "react-native": "^0.37.0",
      "react-native-linear-gradient": "^1.5.15",
      "rn-viewpager": "^1.1.3"
      ,
      "devDependencies":



      dependencies used in android native project



      ext 
      compileSdkVersion = 24
      buildToolsVersion = '24.0.2'
      minSdkVersion = 16
      targetSdkVersion = 24
      supportLibrariesVersion = '23.0.1'
      playServiceVersion = '9.0.2'

      dep = [
      fabricPlugin : 'io.fabric',
      fabricMavenUrl : 'https://maven.fabric.io/public',
      fabricClasspath : 'io.fabric.tools:gradle:1.+',

      playServiceClasspath : 'com.google.gms:google-services:1.3.0-beta1',
      playServicePlugin : 'com.google.gms.google-services',

      playServiceAppindexing: "com.google.android.gms:play-services-appindexing:$playServiceVersion",
      playServiceLocation : "com.google.android.gms:play-services-location:$playServiceVersion",
      playServiceVision : "com.google.android.gms:play-services-vision:$playServiceVersion",
      playServiceAuth : "com.google.android.gms:play-services-auth:$playServiceVersion",
      playServiceBase : "com.google.android.gms:play-services-base:$playServiceVersion",
      playServiceIdentity : "com.google.android.gms:play-services-identity:$playServiceVersion",
      playServiceAnalytics : "com.google.android.gms:play-services-analytics:$playServiceVersion",
      playServiceGcm : "com.google.android.gms:play-services-gcm:$playServiceVersion",

      underCouchClasspath : 'de.undercouch:gradle-download-task:2.0.0',
      underCouchPluigin : 'de.undercouch.download',

      crashlytics : 'com.crashlytics.sdk.android:crashlytics:2.4.0@aar',

      moengage : 'com.moengage:moe-android-sdk:6.0.29',

      supportV4 : "com.android.support:support-v4:$supportLibrariesVersion",
      supportAppCompatV7 : "com.android.support:appcompat-v7:$supportLibrariesVersion",
      supportCardviewV7 : "com.android.support:cardview-v7:$supportLibrariesVersion",
      supportDesignV7 : "com.android.support:design:$supportLibrariesVersion",

      okhttp : 'com.squareup.okhttp:okhttp:2.5.0',
      junit : 'junit:junit:4.12',
      mockito : 'org.mockito:mockito-core:1.10.19'
      ]



      Any clue is appreciated.



      PS: I know react-native does support 64-bit binaries and I am not using any external library.







      android react-native java-native-interface react-native-android .so






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 19 '16 at 14:59









      Ishan DhingraIshan Dhingra

      1,70132541




      1,70132541






















          3 Answers
          3






          active

          oldest

          votes


















          18














          Add the following into app/gradle file



          defaultConfig 
          ....

          ndk
          abiFilters "armeabi-v7a", "x86", 'armeabi', 'arm64-v8a'


          packagingOptions
          exclude "lib/arm64-v8a/libgnustl_shared.so"




          also make sure you working with the same port.



          adb reverse tcp:8081 tcp:8081





          share|improve this answer




















          • 1





            Also see this issue: github.com/facebook/react-native/issues/11027

            – ADev
            Jul 3 '17 at 10:17






          • 3





            What does port have to do with OP's error?

            – IgorGanapolsky
            Jan 11 '18 at 15:35






          • 2





            also add "armeabi" in abiFilters, without that the it doesnt . work on certain phones like samsung s7 , facebook should do a better . job of adding all the filters . one needs to add to ensure this works on all devices.

            – amIT
            Jan 18 '18 at 17:54



















          2














          It can also help you:
          build.gradle (app)



          android
          ...
          defaultConfig
          ....
          ndk
          abiFilters "armeabi-v7a", "x86", 'armeabi', 'arm64-v8a'

          packagingOptions
          exclude "lib/arm64-v8a/libgnustl_shared.so"
          exclude '/lib/mips64/**'
          exclude '/lib/arm64-v8a/**'
          exclude '/lib/x86_64/**'

          ...







          share|improve this answer






























            0














            React Native doesn't provide 64-bit version of the native code and the system always fall back to 32-bit.
            They have resolved this issue and is scheduled to be part of the RN 0.59 release
            Ref: https://github.com/facebook/react-native/issues/2814#issuecomment-457644191






            share|improve this answer























              Your Answer






              StackExchange.ifUsing("editor", function ()
              StackExchange.using("externalEditor", function ()
              StackExchange.using("snippets", function ()
              StackExchange.snippets.init();
              );
              );
              , "code-snippets");

              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "1"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f40694285%2freact-native-expection-java-lang-unsatisfiedlinkerror-dlopen-failed-data-dat%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              18














              Add the following into app/gradle file



              defaultConfig 
              ....

              ndk
              abiFilters "armeabi-v7a", "x86", 'armeabi', 'arm64-v8a'


              packagingOptions
              exclude "lib/arm64-v8a/libgnustl_shared.so"




              also make sure you working with the same port.



              adb reverse tcp:8081 tcp:8081





              share|improve this answer




















              • 1





                Also see this issue: github.com/facebook/react-native/issues/11027

                – ADev
                Jul 3 '17 at 10:17






              • 3





                What does port have to do with OP's error?

                – IgorGanapolsky
                Jan 11 '18 at 15:35






              • 2





                also add "armeabi" in abiFilters, without that the it doesnt . work on certain phones like samsung s7 , facebook should do a better . job of adding all the filters . one needs to add to ensure this works on all devices.

                – amIT
                Jan 18 '18 at 17:54
















              18














              Add the following into app/gradle file



              defaultConfig 
              ....

              ndk
              abiFilters "armeabi-v7a", "x86", 'armeabi', 'arm64-v8a'


              packagingOptions
              exclude "lib/arm64-v8a/libgnustl_shared.so"




              also make sure you working with the same port.



              adb reverse tcp:8081 tcp:8081





              share|improve this answer




















              • 1





                Also see this issue: github.com/facebook/react-native/issues/11027

                – ADev
                Jul 3 '17 at 10:17






              • 3





                What does port have to do with OP's error?

                – IgorGanapolsky
                Jan 11 '18 at 15:35






              • 2





                also add "armeabi" in abiFilters, without that the it doesnt . work on certain phones like samsung s7 , facebook should do a better . job of adding all the filters . one needs to add to ensure this works on all devices.

                – amIT
                Jan 18 '18 at 17:54














              18












              18








              18







              Add the following into app/gradle file



              defaultConfig 
              ....

              ndk
              abiFilters "armeabi-v7a", "x86", 'armeabi', 'arm64-v8a'


              packagingOptions
              exclude "lib/arm64-v8a/libgnustl_shared.so"




              also make sure you working with the same port.



              adb reverse tcp:8081 tcp:8081





              share|improve this answer















              Add the following into app/gradle file



              defaultConfig 
              ....

              ndk
              abiFilters "armeabi-v7a", "x86", 'armeabi', 'arm64-v8a'


              packagingOptions
              exclude "lib/arm64-v8a/libgnustl_shared.so"




              also make sure you working with the same port.



              adb reverse tcp:8081 tcp:8081






              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Feb 3 '18 at 8:27

























              answered Dec 20 '16 at 15:09









              DoronKDoronK

              3,64812429




              3,64812429







              • 1





                Also see this issue: github.com/facebook/react-native/issues/11027

                – ADev
                Jul 3 '17 at 10:17






              • 3





                What does port have to do with OP's error?

                – IgorGanapolsky
                Jan 11 '18 at 15:35






              • 2





                also add "armeabi" in abiFilters, without that the it doesnt . work on certain phones like samsung s7 , facebook should do a better . job of adding all the filters . one needs to add to ensure this works on all devices.

                – amIT
                Jan 18 '18 at 17:54













              • 1





                Also see this issue: github.com/facebook/react-native/issues/11027

                – ADev
                Jul 3 '17 at 10:17






              • 3





                What does port have to do with OP's error?

                – IgorGanapolsky
                Jan 11 '18 at 15:35






              • 2





                also add "armeabi" in abiFilters, without that the it doesnt . work on certain phones like samsung s7 , facebook should do a better . job of adding all the filters . one needs to add to ensure this works on all devices.

                – amIT
                Jan 18 '18 at 17:54








              1




              1





              Also see this issue: github.com/facebook/react-native/issues/11027

              – ADev
              Jul 3 '17 at 10:17





              Also see this issue: github.com/facebook/react-native/issues/11027

              – ADev
              Jul 3 '17 at 10:17




              3




              3





              What does port have to do with OP's error?

              – IgorGanapolsky
              Jan 11 '18 at 15:35





              What does port have to do with OP's error?

              – IgorGanapolsky
              Jan 11 '18 at 15:35




              2




              2





              also add "armeabi" in abiFilters, without that the it doesnt . work on certain phones like samsung s7 , facebook should do a better . job of adding all the filters . one needs to add to ensure this works on all devices.

              – amIT
              Jan 18 '18 at 17:54






              also add "armeabi" in abiFilters, without that the it doesnt . work on certain phones like samsung s7 , facebook should do a better . job of adding all the filters . one needs to add to ensure this works on all devices.

              – amIT
              Jan 18 '18 at 17:54














              2














              It can also help you:
              build.gradle (app)



              android
              ...
              defaultConfig
              ....
              ndk
              abiFilters "armeabi-v7a", "x86", 'armeabi', 'arm64-v8a'

              packagingOptions
              exclude "lib/arm64-v8a/libgnustl_shared.so"
              exclude '/lib/mips64/**'
              exclude '/lib/arm64-v8a/**'
              exclude '/lib/x86_64/**'

              ...







              share|improve this answer



























                2














                It can also help you:
                build.gradle (app)



                android
                ...
                defaultConfig
                ....
                ndk
                abiFilters "armeabi-v7a", "x86", 'armeabi', 'arm64-v8a'

                packagingOptions
                exclude "lib/arm64-v8a/libgnustl_shared.so"
                exclude '/lib/mips64/**'
                exclude '/lib/arm64-v8a/**'
                exclude '/lib/x86_64/**'

                ...







                share|improve this answer

























                  2












                  2








                  2







                  It can also help you:
                  build.gradle (app)



                  android
                  ...
                  defaultConfig
                  ....
                  ndk
                  abiFilters "armeabi-v7a", "x86", 'armeabi', 'arm64-v8a'

                  packagingOptions
                  exclude "lib/arm64-v8a/libgnustl_shared.so"
                  exclude '/lib/mips64/**'
                  exclude '/lib/arm64-v8a/**'
                  exclude '/lib/x86_64/**'

                  ...







                  share|improve this answer













                  It can also help you:
                  build.gradle (app)



                  android
                  ...
                  defaultConfig
                  ....
                  ndk
                  abiFilters "armeabi-v7a", "x86", 'armeabi', 'arm64-v8a'

                  packagingOptions
                  exclude "lib/arm64-v8a/libgnustl_shared.so"
                  exclude '/lib/mips64/**'
                  exclude '/lib/arm64-v8a/**'
                  exclude '/lib/x86_64/**'

                  ...








                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Oct 19 '18 at 13:23









                  AlexSAlexS

                  193112




                  193112





















                      0














                      React Native doesn't provide 64-bit version of the native code and the system always fall back to 32-bit.
                      They have resolved this issue and is scheduled to be part of the RN 0.59 release
                      Ref: https://github.com/facebook/react-native/issues/2814#issuecomment-457644191






                      share|improve this answer



























                        0














                        React Native doesn't provide 64-bit version of the native code and the system always fall back to 32-bit.
                        They have resolved this issue and is scheduled to be part of the RN 0.59 release
                        Ref: https://github.com/facebook/react-native/issues/2814#issuecomment-457644191






                        share|improve this answer

























                          0












                          0








                          0







                          React Native doesn't provide 64-bit version of the native code and the system always fall back to 32-bit.
                          They have resolved this issue and is scheduled to be part of the RN 0.59 release
                          Ref: https://github.com/facebook/react-native/issues/2814#issuecomment-457644191






                          share|improve this answer













                          React Native doesn't provide 64-bit version of the native code and the system always fall back to 32-bit.
                          They have resolved this issue and is scheduled to be part of the RN 0.59 release
                          Ref: https://github.com/facebook/react-native/issues/2814#issuecomment-457644191







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Mar 6 at 17:25









                          Dishant WaliaDishant Walia

                          614




                          614



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Stack Overflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f40694285%2freact-native-expection-java-lang-unsatisfiedlinkerror-dlopen-failed-data-dat%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

                              Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

                              2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived