1.新建原生app,集成2.8.4SDK相关jar,aar,assets文件,在application中初始化
2.HBuildx中新建uni-app(U)项目
3.发行-》原生app制作wgt包
4.将wgt放置到原生app的asset文件夹下,通过代码拷贝到SDCard指定目录下
5.通过DCUniMPSDK 的releaseWgtToRunPathFromePath方法释放资源成功后,使用DCUniMPSDK的startApp开启小程序
6.小程序界面白屏
- 发布:2020-08-11 17:02
- 更新:2023-05-30 11:02
- 阅读:2999
产品分类: uni小程序SDK
手机系统: Android
手机系统版本号: Android 10
手机厂商: 华为
手机机型: nova6
页面类型: vue
SDK版本号: 2.8.4
操作步骤:
预期结果:
和在HBuilderX中显示的小程序界面一致
和在HBuilderX中显示的小程序界面一致
实际结果:
白屏
白屏
bug描述:
2020-08-11 16:53:04.920 20836-20836/com.tsp.holisprogo E/Html5Plus-SplashClosed: 1597135984920
2020-08-11 16:53:04.921 20836-20836/com.tsp.holisprogo E/Main_Path: closeSplashScreen0 appid=UNI01BD51A;true;closeSplashDid=false
2020-08-11 16:53:05.041 20836-20836/com.tsp.holisprogo E/WeexCore: wx_bridge.cpp:1307,class Name is com/taobao/weex/bridge/WXBridge
2020-08-11 16:53:05.041 20836-20836/com.tsp.holisprogo E/WeexCore: WXBridge_jni.h:1445,Java_WXBridge_reset_clazz class Name is com/taobao/weex/bridge/WXBridge
2020-08-11 16:53:05.045 20836-20836/com.tsp.holisprogo E/Html5Plus-onCreate: 1597135985045
2020-08-11 16:53:05.055 20836-20836/com.tsp.holisprogo E/Html5Plus-onResume: 1597135985055
2020-08-11 16:53:06.841 20836-22902/com.tsp.holisprogo E/WeexCore: weex_js_connection.cpp:297,WeexJSConnection catch: spinWaitPeer timeout
2020-08-11 16:53:06.841 20836-22902/com.tsp.holisprogo E/WeexCore: multi_process_and_so_initializer.cpp:47,JSFramwork init start sender is null
2020-08-11 16:53:06.841 20836-22902/com.tsp.holisprogo E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap
2020-08-11 16:53:06.842 20836-22902/com.tsp.holisprogo E/WeexCore: weex_js_connection.cpp:141,WeexJSConnection g_crashFileName: /data/user/0/com.tsp.holisprogo/app_crash/crash_dump.log
2020-08-11 16:53:06.842 20836-23579/com.tsp.holisprogo E/WeexCore: weex_js_connection.cpp:184,IPCException server died spinWaitPeer timeout
2020-08-11 16:53:06.842 20836-23579/com.tsp.holisprogo E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap
2020-08-11 16:53:06.843 20836-22902/com.tsp.holisprogo E/WeexCore: weex_js_connection.cpp:261,startupPie :1
2020-08-11 16:53:09.841 20836-22902/com.tsp.holisprogo E/WeexCore: weex_js_connection.cpp:297,WeexJSConnection catch: spinWaitPeer timeout
2020-08-11 16:53:09.841 20836-22902/com.tsp.holisprogo E/WeexCore: multi_process_and_so_initializer.cpp:47,JSFramwork init start sender is null
2020-08-11 16:53:09.841 20836-22902/com.tsp.holisprogo E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap
2020-08-11 16:53:09.842 20836-22902/com.tsp.holisprogo E/WeexCore: script_bridge_in_multi_process.cpp:1025,ScriptBridgeInMultiProcess DELETE
2020-08-11 16:53:09.842 20836-23631/com.tsp.holisprogo E/WeexCore: weex_js_connection.cpp:184,IPCException server died spinWaitPeer timeout
2020-08-11 16:53:09.843 20836-23631/com.tsp.holisprogo E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap
2020-08-11 16:53:09.843 20836-22902/com.tsp.holisprogo E/WeexCore: script_side_in_multi_process.cpp:43,InitFramework sender is null
2020-08-11 16:53:09.843 20836-22902/com.tsp.holisprogo E/weex: [WXBridgeManager] invokeInitFramework ExecuteJavaScript fail
2020-08-11 16:53:09.844 20836-22902/com.tsp.holisprogo E/weex: [WXBridgeManager] invoke execJSService: framework.js uninitialized.
2020-08-11 16:53:09.845 20836-22902/com.tsp.holisprogo E/weex: [WXBridgeManager] invoke execJSService: framework.js uninitialized.
2020-08-11 16:53:09.852 20836-22902/com.tsp.holisprogo E/WXParams: setCrashFilePath: /data/user/0/com.tsp.holisprogo/app_crash
2020-08-11 16:53:09.853 20836-22902/com.tsp.holisprogo E/weex: getUseSingleProcess is running false
2020-08-11 16:53:09.853 20836-22902/com.tsp.holisprogo E/WeexCore: params_utils.cpp:198,g_use_single_process is false
2020-08-11 16:53:09.853 20836-22902/com.tsp.holisprogo E/weex: getReleaseMap:true
2020-08-11 16:53:09.853 20836-22902/com.tsp.holisprogo E/weex: getLibJscPath is running
2020-08-11 16:53:09.853 20836-22902/com.tsp.holisprogo E/WeexCore: params_utils.cpp:242,g_jscSoPath is
2020-08-11 16:53:09.853 20836-22902/com.tsp.holisprogo E/weex: getLibJssPath is running /data/user/0/com.tsp.holisprogo/cache/libweexjss.so
2020-08-11 16:53:09.853 20836-22902/com.tsp.holisprogo E/WeexCore: params_utils.cpp:255,g_jssSoPath is /data/user/0/com.tsp.holisprogo/cache/libweexjss.so
2020-08-11 16:53:09.853 20836-22902/com.tsp.holisprogo E/WXParams: getCrashFilePath:/data/user/0/com.tsp.holisprogo/app_crash
2020-08-11 16:53:09.853 20836-22902/com.tsp.holisprogo E/WeexCore: params_utils.cpp:267,g_crashFilePath is /data/user/0/com.tsp.holisprogo/app_crash
2020-08-11 16:53:09.853 20836-22902/com.tsp.holisprogo E/weex: getLibIcuPath is running /apex/com.android.runtime/etc/icu/icudt63l.dat
2020-08-11 16:53:09.853 20836-22902/com.tsp.holisprogo E/WeexCore: params_utils.cpp:280,g_jssIcuPath is /apex/com.android.runtime/etc/icu/icudt63l.dat
2020-08-11 16:53:09.853 20836-22902/com.tsp.holisprogo E/weex: getLibJsbPath is running /data/data/com.tsp.holisprogo/cache/weex/libs/weexjsb/arm64-v8a/libweexjsb.so
2020-08-11 16:53:09.853 20836-22902/com.tsp.holisprogo E/weex: getLibLdPath is running /data/app/com.tsp.holisprogo-5RnBTuwpn-XJRqGswhxUGw==/lib/arm64:/data/app/com.tsp.holisprogo-5RnBTuwpn-XJRqGswhxUGw==/base.apk!/lib/arm64-v8a:/data/app/com.tsp.holisprogo-5RnBTuwpn-XJRqGswhxUGw==/split_config.arm64_v8a.apk!/lib/arm64-v8a:/data/app/com.tsp.holisprogo-5RnBTuwpn-XJRqGswhxUGw==/split_config.xxhdpi.apk!/lib/arm64-v8a:/data/app/com.tsp.holisprogo-5RnBTuwpn-XJRqGswhxUGw==/split_config.zh.apk!/lib/arm64-v8a
2020-08-11 16:53:09.854 20836-22902/com.tsp.holisprogo E/WeexCore: multi_process_and_so_initializer.cpp:38,MultiProcessAndSoInitializer IS IN init
2020-08-11 16:53:09.854 20836-22902/com.tsp.holisprogo E/WeexCore: weex_js_connection.cpp:141,WeexJSConnection g_crashFileName: /data/user/0/com.tsp.holisprogo/app_crash/crash_dump.log
2020-08-11 16:53:09.855 20836-22902/com.tsp.holisprogo E/WeexCore: weex_js_connection.cpp:261,startupPie :1
2020-08-11 16:53:12.841 20836-23639/com.tsp.holisprogo E/WeexCore: weex_js_connection.cpp:184,IPCException server died spinWaitPeer timeout
2020-08-11 16:53:12.841 20836-22902/com.tsp.holisprogo E/WeexCore: weex_js_connection.cpp:297,WeexJSConnection catch: spinWaitPeer timeout
2020-08-11 16:53:12.842 20836-22902/com.tsp.holisprogo E/WeexCore: multi_process_and_so_initializer.cpp:47,JSFramwork init start sender is null
2020-08-11 16:53:12.842 20836-22902/com.tsp.holisprogo E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap
2020-08-11 16:53:12.842 20836-23639/com.tsp.holisprogo E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap
2020-08-11 16:53:12.842 20836-22902/com.tsp.holisprogo E/WeexCore: weex_js_connection.cpp:141,WeexJSConnection g_crashFileName: /data/user/0/com.tsp.holisprogo/app_crash/crash_dump.log
2020-08-11 16:53:12.844 20836-22902/com.tsp.holisprogo E/WeexCore: weex_js_connection.cpp:261,startupPie :1
2020-08-11 16:53:15.307 20836-20836/com.tsp.holisprogo E/Html5Plus-SplashClosed: 1597135995307
2020-08-11 16:53:15.307 20836-20836/com.tsp.holisprogo E/Main_Path: closeSplashScreen0 appid=UNI01BD51A;true;closeSplashDid=false
2020-08-11 16:53:15.841 20836-23645/com.tsp.holisprogo E/WeexCore: weex_js_connection.cpp:184,IPCException server died spinWaitPeer timeout
2020-08-11 16:53:15.841 20836-22902/com.tsp.holisprogo E/WeexCore: weex_js_connection.cpp:297,WeexJSConnection catch: spinWaitPeer timeout
2020-08-11 16:53:15.841 20836-22902/com.tsp.holisprogo E/WeexCore: multi_process_and_so_initializer.cpp:47,JSFramwork init start sender is null
2020-08-11 16:53:15.841 20836-22902/com.tsp.holisprogo E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap
2020-08-11 16:53:15.842 20836-23645/com.tsp.holisprogo E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap
2020-08-11 16:53:15.842 20836-22902/com.tsp.holisprogo E/WeexCore: script_bridge_in_multi_process.cpp:1025,ScriptBridgeInMultiProcess DELETE
2020-08-11 16:53:15.843 20836-22902/com.tsp.holisprogo E/WeexCore: script_side_in_multi_process.cpp:43,InitFramework sender is null
2020-08-11 16:53:15.843 20836-22902/com.tsp.holisprogo E/weex: [WXBridgeManager] invokeInitFramework ExecuteJavaScript fail
2020-08-11 16:53:15.845 20836-22902/com.tsp.holisprogo E/weex: [WXBridgeManager] invoke execJSService: framework.js uninitialized.
2020-08-11 16:53:15.845 20836-22902/com.tsp.holisprogo E/weex: [WXBridgeManager] invoke execJSService: framework.js uninitialized.
6 个回复
夜泊
Android ,uniapp离线打包方式,重复退出,又进去,多重复几次,基本都会出现这个情况,白屏,报楼主的bug那样,这样都不太敢用啊。sdk 应该是最新的了
DCloud_Android_ST
版本太老了,不确定是否已修复。升级到3.0.7版本再试试吧。
夜泊
我的Android sdk 下载下来的版本是 Android-SDK@3.0.4.80605_20210104,HBuilderX 是 3.0.5.20210107,也还会出现这个问题。我查问题的时候,看到这个incubator-weex框架也有类似的错误,是不是你们也引用了 ,他的bug是关闭的了,https://github.com/apache/incubator-weex/issues/3013
2021-01-18 17:17
webyann
2021-01-18 18:10:49.402 16890-17126/pingougou.com.pinpin E/weex: [WXBridgeManager] invokeInitFramework ExecuteJavaScript fail
2021-01-18 18:10:49.407 16890-17126/pingougou.com.pinpin E/weex: [WXBridgeManager] invoke execJSService: framework.js uninitialized.
2021-01-18 18:10:49.408 16890-17126/pingougou.com.pinpin E/weex: [WXBridgeManager] invoke execJSService: framework.js uninitialized.
2021-01-18 18:10:54.949 16890-16890/pingougou.com.pinpin E/Html5Plus-SplashClosed: 1610964654949
2021-01-18 18:10:54.949 16890-16890/pingougou.com.pinpin E/Main_Path: closeSplashScreen0 appid=UNIB9BB5C7;true;closeSplashDid=false
换到3.0.7还是报同样得错误
2021-01-18 18:12
webyann
楼主解决了吗
6***@qq.com
楼主解决了吗?
x***@163.com
楼主解决了吗,重复几次加载wgt就会白屏
明明就是我
楼主解决了吗?