本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《
阿里云开发者社区用户服务协议
》和
《
阿里云开发者社区知识产权保护指引
》。如果您发现本社区中有涉嫌抄袭的内容,填写
侵权投诉表单
进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
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 页面正常显示.
Android Execution failed for task ‘:app:mergeDebugAssets‘. > java.nio.file.AccessDeniedException:错误
Android Execution failed for task ‘:app:mergeDebugAssets‘. > java.nio.file.AccessDeniedException:错误
java.lang.UnsatisfiedLinkError: Library not loaded: @rpath/libo.dylib Reason: image not found
java.lang.UnsatisfiedLinkError: Library not loaded: @rpath/libo.dylib Reason: image not found
Error:Module production: java.lang.NoClassDefFoundError: com/android/resources/ResourceFolderType
Error:Module production: java.lang.NoClassDefFoundError: com/android/resources/ResourceFolderType
read ECONNRESET at TLSWrap.onStreamRead (internal/stream_base_commons.js:209:20) { errno: -4077
gitup 在国内有一个问题——打不开,然后此时,好多博客或者文章就会让你去使用 科学上网的工具,科学上网的工具呢,本身是走的是一个代理,通过代理来实现gitup可以访问。关于科学上网的工具请自行搜索。
游客ruqdfvh2iuyqc
Unknown failure: Error: java.lang.IllegalStateException: No storage with enough free space; res=-1
Unknown failure: Error: java.lang.IllegalStateException: No storage with enough free space; res=-1
振华OPPO
https://stackoverflow.com/questions/42731610/module-build-failed-referenceerror-unknown-plugin-import-specified-in-base