銆怰N灏忚銆戣В鍐?couldnot find DSO to load: libhermes.so
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了銆怰N灏忚銆戣В鍐?couldnot find DSO to load: libhermes.so相关的知识,希望对你有一定的参考价值。
鏍囩锛?a href='http://www.mamicode.com/so/1/solution' title='solution'>solution
2020-06-04 17:28:25.648 1375-1391/? E/SoLoader: couldn鈥榯 find DSO to load: libhermes.so
--------- beginning of crash
2020-06-04 17:28:25.649 1375-1391/? E/androidRuntime: FATAL EXCEPTION: create_react_context
Process: com.microrelay, PID: 1375
java.lang.UnsatisfiedLinkError: couldn鈥榯 find DSO to load: libhermes.so
at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:789)
at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:639)
at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:577)
at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:525)
at com.facebook.hermes.reactexecutor.HermesExecutor.<clinit>(HermesExecutor.java:20)
at com.facebook.hermes.reactexecutor.HermesExecutorFactory.create(HermesExecutorFactory.java:29)
at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:997)
at java.lang.Thread.run(Thread.java:764)
涓€鐣悳绱㈡壘鍒拌В鍐虫柟妗堬細( 鍘?issues 鍦板潃锛?a href="https://github.com/facebook/react-native/issues/25923" rel="nofollow">https://github.com/facebook/react-native/issues/25923 )
鍦?android/app/build.gradle 鏂囦欢涓?娣诲姞濡備笅閰嶇疆锛?/p>
configurations.all {
resolutionStrategy {
force "com.facebook.soloader:soloader:0.8.2"
}
}
以上是关于銆怰N灏忚銆戣В鍐?couldnot find DSO to load: libhermes.so的主要内容,如果未能解决你的问题,请参考以下文章
RN小记解决 couldnot find DSO to load: libhermes.so
React Native 小记解决 Android 打包后闪退Error: E/SoLoader: couldnot find DSO to load: libhermes.so