-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to load dynamic library (dlopen failed: library "libkraken_jsc.so" not found) #209
Comments
是通过集成这个地址里面提供的 android release 包吗? |
http://openkraken.com/guide/native/interpolation-app,通过这个文档集成的 |
直接在as里面构建运行会报错,但是如果打debug包再安装的话可以正常启动 |
build.gradle // Top-level build file where you can add configuration options common to all sub-projects/modules.
} allprojects {
} task clean(type: Delete) { build.gradle(:app) android {
} dependencies {
} |
从明天开始就要休假了 @wssgcg1213 求帮忙看下 |
知道了,应该是架构的问题,我用的虚拟机是X86的,sdk里面没对应的.so文件 |
OK |
kraken 默认将libkraken_jsc.so打到arm架构中,x86架构中没有,这个怎么解决啊? @andycall |
kraken 暂时不支持 android 虚拟机 |
使用的 Kraken 版本 |0.7.1,按照官方文档的步骤去集成到原生android项目中直接报找不到.so文件,这个bridge如果是直接引入官方提供的sdk的话不用自己构建的吧?
flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library (dlopen failed: library "libkraken_jsc.so" not found)
#0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11:55)
#1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:20:12)
#2 nativeDynamicLibrary (package:kraken/src/bridge/platform.dart:26:20)
#3 nativeDynamicLibrary (package:kraken/src/bridge/platform.dart)
#4 _registerDartMethods (package:kraken/src/bridge/from_native.dart:381:5)
#5 _registerDartMethods (package:kraken/src/bridge/from_native.dart)
#6 registerDartMethodsToCpp (package:kraken/src/bridge/from_native.dart:387:3)
#7 initBridge (package:kraken/src/bridge/bridge.dart:25:3)
#8 new KrakenViewController (package:kraken/src/launcher/controller.dart:107:20)
#9 new KrakenController (package:kraken/src/launcher/controller.dart:482:13)
#10 launch (package:kraken/src/launcher/launcher.dart:28:33)
#11 main (package:kraken_sdk_module/main.dart:4:3)
#12 _runMainZoned.. (dart:ui/hooks.dart:231:25)
#13 _rootRun (dart:async/zone.dart:1190:13)
#14 _CustomZone.run (dart:async/zone.dart:1093:19)
#15 _runZoned (dart:async/zone.dart:1630:10)
#16 runZonedGuarded (dart:async/zone.dart:1618:12)
#17 _runMainZoned. (dart:ui/hooks.dart:223:5)
#18 _startIsolate. (dart:isolate-patch/isolate_patch.dart:301:19)
#19 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
The text was updated successfully, but these errors were encountered: