E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.edaixi.activity, PID: 3659
at java.lang.Runtime.load0(Runtime.java:897)
at java.lang.System.load(System.java:1505)
at com.facebook.soloader.DirectorySoSource.loadLibraryFrom(Unknown Source)
at com.facebook.soloader.DirectorySoSource.loadLibrary(Unknown Source)
at com.facebook.soloader.SoLoader.loadLibraryBySoName(Unknown Source)
at com.facebook.soloader.DirectorySoSource.loadLibraryFrom(Unknown Source)
at com.facebook.soloader.DirectorySoSource.loadLibrary(Unknown Source)
at com.facebook.soloader.SoLoader.loadLibraryBySoName(Unknown Source)
at com.facebook.soloader.DirectorySoSource.loadLibraryFrom(Unknown Source)
at com.facebook.soloader.DirectorySoSource.loadLibrary(Unknown Source)
at com.facebook.soloader.SoLoader.loadLibraryBySoName(Unknown Source)
at com.facebook.soloader.DirectorySoSource.loadLibraryFrom(Unknown Source)
at com.facebook.soloader.DirectorySoSource.loadLibrary(Unknown Source)
at com.facebook.soloader.SoLoader.loadLibraryBySoName(Unknown Source)
at com.facebook.soloader.DirectorySoSource.loadLibraryFrom(Unknown Source)
at com.facebook.soloader.DirectorySoSource.loadLibrary(Unknown Source)
at com.facebook.soloader.SoLoader.loadLibraryBySoName(Unknown Source)
at com.facebook.soloader.SoLoader.loadLibrary(Unknown Source)
at com.facebook.react.bridge.ReactBridge.staticInit(Unknown Source)
at com.facebook.react.bridge.ReactBridge.<clinit>(Unknown Source)
at com.facebook.react.bridge.ReactBridge.staticInit(Unknown Source)
at com.facebook.react.bridge.NativeMap.<clinit>(Unknown Source)
at com.facebook.react.JSCConfig$1.getConfigMap(Unknown Source)
at com.facebook.react.XReactInstanceManagerImpl.recreateReactContextInBackgroundFromBundleLoader(Unknown Source)
at com.facebook.react.XReactInstanceManagerImpl.recreateReactContextInBackgroundInner(Unknown Source)
at com.facebook.react.XReactInstanceManagerImpl.createReactContextInBackground(Unknown Source)
at com.facebook.react.ReactRootView.startReactApplication(Unknown Source)
at com.test.user.activity.MyReactActivity.onCreate(Unknown Source)
at android.app.Activity.performCreate(Activity.java:6664)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2599)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

解决方案:

 defaultConfig {

        .........

        ndk {
abiFilters "armeabi-v7a", "x86"
} packagingOptions {
exclude "lib/arm64-v8a/libgnustl_shared.so"
}
}

  

出错手机是CPU为64位的,修改后,正常运行,React 页面正常显示.

  

React java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/com.edaixi.activity/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit的更多相关文章

  1. java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/xxx/lib/arm/liblame.so: has text relocations

    最近在写本地录音转码过程中引入了liblame.so,我这边用了不同系统版本的手机测试本地录音都没有出现问题,但是有一天,同事在测试的时候,出现了以下错误: 09-13 17:32:29.140 26 ...

  2. 分析Android :java.lang.UnsatisfiedLinkError: dlopen failed * is 32-bit instead of 64-bit

    Crash 日志: java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/com.ireader.plug.sdk/iread ...

  3. java.lang.UnsatisfiedLinkError:dlopen failed: “**/*/arm/*.so” has unexpected e_machine: 3

    转载请标明出处,维权必究:https://www.cnblogs.com/tangZH/p/10458448.html 今天在做APP的时候使用so库,可结果一加载so库的时候便发生了这个莫名其妙的错 ...

  4. java.lang.UnsatisfiedLinkError: dlopen failed: library "/system/lib/libjni_i

    出错log:java.lang.UnsatisfiedLinkError: dlopen failed: library "/system/lib/libskytvjni.so" ...

  5. java.lang.UnsatisfiedLinkError: dlopen failed: library "libsqlite.so" not found

    项目在7.0以下系统的手机上运行正常,但在7.0的手机上运行异常. 出现这个问题的原因是:从 Android 7.0 开始,Android系统将阻止应用动态链接非公开 NDK 库. 解决方法有两种 第 ...

  6. java 反射 报错:Attempt to get java.lang.Integer field "..." with illegal data type conversion to int

    类: Integer id; 反射时: Field f = User.class.getDeclaredField("id"); f.setAccessible(true); in ...

  7. 开发错误记录13:java.lang.UnsatisfiedLinkError: Couldn't load xxx.so: findLibrary returned null

    今天在导入环信开发包时,编译报如下错: java.lang.UnsatisfiedLinkError: Couldn't load hyphenate_av from loader dalvik.sy ...

  8. 把应用push到/system/app上面后,出现java.lang.UnsatisfiedLinkError的问题

    把应用push到/system/app下面后,加载.so库的问题 01-01 00:07:08.186: E/MessageQueue-JNI(2683): java.lang.Unsatisfied ...

  9. java.lang.UnsatisfiedLinkError: Couldn't load hyphenate_av from loader dalvik.system.PathClassLoader

    android studio引入第三方库时报如下异常. 06-15 16:50:24.477 9497-9497/easemobim.test.com.easemobim E/AndroidRunti ...

随机推荐

  1. JS、CSS兼容性问题的几点总结

    javascript和CSS在不同浏览器下的兼容性问题的几点总结: Javascript部分 1. document.form.item 问题问题:代码中存在 document.formName.it ...

  2. Portal技术介绍

      Portal技术介绍 Portal是web应用发展的一个重要趋势,目前几乎所有大的软件厂商都有自己的Portal产品.并且Portal技术已经形成规范.本文对Portal技术和产品进行了分析,目的 ...

  3. CCI_chapter 8 Recurision

    8.1 水题 8.2 Imagine a robot sitting on the upper left hand corner of an NxN grid The robot can only m ...

  4. BZOJ3713: [PA2014]Iloczyn

    3713: [PA2014]Iloczyn Time Limit: 1 Sec  Memory Limit: 128 MBSubmit: 206  Solved: 112[Submit][Status ...

  5. Display number of replies in disscussion board

    how to display number of replies in disscussion board I have a require about display the replies' nu ...

  6. shell输出加颜色

    shell输出加颜色 #cat a.sh #!/bin/sh blue=`tput setaf 4` reset=`tput sgr0` echo "${blue}[INFORMATION] ...

  7. LinearLayout 和 RelativeLayout

    共有属性: java代码中通过btn1关联次控件 android:id="@+id/btn1" 控件宽度 android:layout_width="80px" ...

  8. art.dialog

    关闭指定弹出窗: art.dialog({ id: 'hetong' }).close(); 关闭所有的iframe弹出窗,art.dia.close();

  9. 自定义jquery插件

    参考:http://blog.csdn.net/bao19901210/article/details/21540137/ 自己看代码理解: <!DOCTYPE html> <htm ...

  10. [RxJS] Reactive Programming - Rendering on the DOM with RxJS

    <!DOCTYPE html> <html> <head> <script src="https://code.jquery.com/jquery- ...