通过hx制作自定义基座,安装自定义基座,
- 发布:2020-05-31 21:06
- 更新:2020-06-08 10:15
- 阅读:2921
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win10教育版
HBuilderX类型: 正式
HBuilderX版本号: 2.7.9
手机系统: Android
手机系统版本号: Android 10
手机厂商: 模拟器
手机机型: 小米9se
页面类型: nvue
打包方式: 云端
项目创建方式: HBuilderX
App下载地址或H5⽹址: https://service.dcloud.net.cn/build/download/e06c9c50-a33e-11ea-b3e7-c1d11426924f
操作步骤:
预期结果:
app能够正常运行
app能够正常运行
实际结果:
nvue界面没显示出来,只显示出来了底部的tabbar
nvue界面没显示出来,只显示出来了底部的tabbar
bug描述:
打自定义运行基座,成功之后再通过hx运行自定义基座。进入APP之后只能显示底部的tabbar ,nvue页面未显示
通过as打印出来的错误日志如下
05-31 20:48:45.799 19818-19818/? E/platform: ClassNotFoundException io.dcloud.feature.x5.X5InitImpl init
05-31 20:48:45.806 19818-19818/? E/DCloud_LOG: PlatformUtil.getResInputStream RuntimeException pFilePath=data/dcloud_control.xml
05-31 20:48:46.036 19818-19839/? E/weex: tryUseRunTimeApi ? false
05-31 20:48:46.236 19818-19818/? E/platform: ClassNotFoundException io.dcloud.feature.weex_livepusher.LivePusherPlugin initPlugin
05-31 20:48:46.236 19818-19818/? E/platform: ClassNotFoundException io.dcloud.feature.weex_media.VideoPlayerPlugin initPlugin
05-31 20:48:46.237 19818-19818/? E/platform: ClassNotFoundException io.dcloud.feature.gcanvas.GCanvasRegister initPlugin
05-31 20:48:46.237 19818-19818/? E/platform: ClassNotFoundException io.dcloud.feature.weex_ad.DCWXAdPlugin initPlugin
05-31 20:48:46.239 19818-19839/? E/WXParams: setCrashFilePath: /data/data/uni.UNIB2975BC/app_crash
05-31 20:48:46.239 19818-19839/? E/weex: weexjss's Path is/data/app/uni.UNIB2975BC-1/lib/arm/libweexjss.so
05-31 20:48:46.241 19818-19818/? E/DCLoudApplicationImpl: mApplication--=io.dcloud.application.DCloudApplication@5ae7bad
05-31 20:48:46.242 19818-19839/? E/weex: JavaScriptCore's Path is/data/app/uni.UNIB2975BC-1/lib/arm/libJavaScriptCore.so
05-31 20:48:46.242 19818-19839/? E/weex: findLibJscRealPath /data/app/uni.UNIB2975BC-1/lib/arm/libJavaScriptCore.so
05-31 20:48:46.247 19818-19839/? E/weex: getUseSingleProcess is running false
05-31 20:48:46.250 19818-19839/? E/WeexCore: params_utils.cpp:198,g_use_single_process is false
05-31 20:48:46.251 19818-19839/? E/weex: getLibJscPath is running /data/app/uni.UNIB2975BC-1/lib/arm
05-31 20:48:46.252 19818-19839/? E/WeexCore: params_utils.cpp:242,g_jscSoPath is /data/app/uni.UNIB2975BC-1/lib/arm
05-31 20:48:46.253 19818-19839/? E/weex: getLibJssPath is running /data/app/uni.UNIB2975BC-1/lib/arm/libweexjss.so
05-31 20:48:46.254 19818-19839/? E/WeexCore: params_utils.cpp:255,g_jssSoPath is /data/app/uni.UNIB2975BC-1/lib/arm/libweexjss.so
05-31 20:48:46.254 19818-19839/? E/WXParams: getCrashFilePath:/data/data/uni.UNIB2975BC/app_crash
05-31 20:48:46.256 19818-19839/? E/WeexCore: params_utils.cpp:267,g_crashFilePath is /data/data/uni.UNIB2975BC/app_crash
05-31 20:48:46.256 19818-19839/? E/weex: getLibIcuPath is running /system/usr/icu/icudt53l.dat
05-31 20:48:46.257 19818-19839/? E/WeexCore: params_utils.cpp:280,g_jssIcuPath is /system/usr/icu/icudt53l.dat
05-31 20:48:46.258 19818-19839/? E/weex: getLibJsbPath is running /data/data/uni.UNIB2975BC/cache/weex/libs/weexjsb/armeabi-v7a/libweexjsb.so
05-31 20:48:46.258 19818-19839/? E/weex: getLibLdPath is running /data/app/uni.UNIB2975BC-1/lib/arm:/vendor/lib:/system/lib
05-31 20:48:46.272 19818-19839/? E/WeexCore: setDebugMode 2
05-31 20:48:46.275 19818-19839/? E/WeexCore: multi_process_and_so_initializer.cpp:38,MultiProcessAndSoInitializer IS IN init
05-31 20:48:46.279 19818-19839/? E/WeexCore: weex_js_connection.cpp:140,WeexJSConnection g_crashFileName: /data/data/uni.UNIB2975BC/app_crash/crash_dump.log
05-31 20:48:46.293 19818-19839/? E/WeexCore: weex_js_connection.cpp:260,startupPie :1
05-31 20:48:46.325 19846-19846/? E/WeexCore: weex_js_connection.cpp:281,weexcore fork child success
05-31 20:48:47.512 19818-19852/uni.UNIB2975BC E/EGL_adreno: tid 19852: eglSurfaceAttrib(1319): error 0x3009 (EGL_BAD_MATCH)
05-31 20:48:47.801 19818-19818/uni.UNIB2975BC E/Html5Plus-onCreate: 1590929327801
05-31 20:48:47.846 19818-19818/uni.UNIB2975BC E/DCloud_LOG: channel:uni.UNIB2975BC|__UNI__B2975BC|127800030705|;ver:1.9.9.80210;ssdk:false;max:3;trim:0;dg:true
05-31 20:48:47.895 19818-19818/uni.UNIB2975BC E/platform: NoSuchMethodException android.telephony.TelephonyManager getImei2
05-31 20:48:47.897 19818-19818/uni.UNIB2975BC E/TelephonyUtil: getIMEI exception==length=1; index=1
05-31 20:48:48.174 19818-19818/uni.UNIB2975BC E/platform: ClassNotFoundException io.dcloud.appstream.actionbar.StreamAppActionBarUtil checkNeedTitleView
05-31 20:48:48.229 19818-19818/uni.UNIB2975BC E/Html5Plus-onResume: 1590929328229
05-31 20:48:48.592 19818-19852/uni.UNIB2975BC E/EGL_adreno: tid 19852: eglSurfaceAttrib(1319): error 0x3009 (EGL_BAD_MATCH)
05-31 20:48:48.593 1438-1585/? E/SurfaceFlinger: warning, detect vsync overflow!
05-31 20:48:48.738 19818-19839/uni.UNIB2975BC E/WeexCore: weex_js_connection.cpp:296,WeexJSConnection catch: spinWaitPeer timeout
05-31 20:48:48.738 19818-19845/uni.UNIB2975BC E/WeexCore: weex_js_connection.cpp:183,IPCException server died spinWaitPeer timeout
05-31 20:48:48.739 19818-19839/uni.UNIB2975BC E/WeexCore: multi_process_and_so_initializer.cpp:47,JSFramwork init start sender is null
05-31 20:48:48.741 19818-19839/uni.UNIB2975BC E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap
05-31 20:48:48.744 19818-19839/uni.UNIB2975BC E/WeexCore: weex_js_connection.cpp:140,WeexJSConnection g_crashFileName: /data/data/uni.UNIB2975BC/app_crash/crash_dump.log
05-31 20:48:48.751 19818-19839/uni.UNIB2975BC E/WeexCore: weex_js_connection.cpp:260,startupPie :1
05-31 20:48:48.756 19864-19839/? E/WeexCore: weex_js_connection.cpp:281,weexcore fork child success
05-31 20:48:51.067 19818-19818/uni.UNIB2975BC E/DCloud_LOG: fmgr no dp
05-31 20:48:51.120 19818-19818/uni.UNIB2975BC E/DCloud_LOG: channel:uni.UNIB2975BC|__UNI__B2975BC|127800030705|;ver:1.9.9.80210;ssdk:false;max:3;trim:0;dg:true
05-31 20:48:51.191 19818-19818/uni.UNIB2975BC E/DCloud_LOG: PlatformUtil.getResInputStream FileNotFoundException pFilePath=data/api.json
05-31 20:48:51.750 19818-19839/uni.UNIB2975BC E/WeexCore: weex_js_connection.cpp:296,WeexJSConnection catch: spinWaitPeer timeout
05-31 20:48:51.751 19818-19839/uni.UNIB2975BC E/WeexCore: multi_process_and_so_initializer.cpp:47,JSFramwork init start sender is null
05-31 20:48:51.752 19818-19839/uni.UNIB2975BC E/WeexCore: IPCFutexPageQueue.cpp:66,do munmap
05-31 20:48:51.753 19818-19863/uni.UNIB2975BC E/WeexCore: weex_js_connection.cpp:183,IPCException server died spinWaitPeer timeout
05-31 20:48:51.763 19818-19839/uni.UNIB2975BC E/WeexCore: script_side_in_multi_process.cpp:43,InitFramework sender is null
05-31 20:48:51.764 19818-19839/uni.UNIB2975BC E/weex: [WXBridgeManager] invokeInitFramework ExecuteJavaScript fail
05-31 20:48:51.808 19818-19839/uni.UNIB2975BC E/weex: [WXBridgeManager] invoke execJSService: framework.js uninitialized.
05-31 20:48:51.808 19818-19839/uni.UNIB2975BC E/weex: [WXBridgeManager] invoke execJSService: framework.js uninitialized.
05-31 20:48:51.958 19818-19852/uni.UNIB2975BC E/EGL_adreno: tid 19852: eglSurfaceAttrib(1319): error 0x3009 (EGL_BAD_MATCH)
05-31 20:48:52.032 19818-19818/uni.UNIB2975BC E/appMgr: START_APP__UNI__B2975BC
05-31 20:48:52.035 19818-19818/uni.UNIB2975BC E/streamsdk: come into createAppRootView pAppid===__UNI__B2975BC
05-31 20:48:52.036 19818-19818/uni.UNIB2975BC E/streamsdk: come into createAppRootView and new le rootview pAppid===__UNI__B2975BC
05-31 20:48:52.044 19818-19818/uni.UNIB2975BC E/platform: ClassNotFoundException io.dcloud.appstream.actionbar.StreamAppActionBarUtil makeTitleViewDefault
05-31 20:48:52.045 19818-19818/uni.UNIB2975BC E/platform: ClassNotFoundException io.dcloud.appstream.actionbar.StreamAppActionBarUtil UpdateTitle
05-31 20:48:52.045 19818-19818/uni.UNIB2975BC E/platform: ClassNotFoundException io.dcloud.appstream.actionbar.StreamAppActionBarUtil resumeTitleView
05-31 20:48:52.045 19818-19818/uni.UNIB2975BC E/platform: ClassNotFoundException io.dcloud.appstream.actionbar.StreamAppActionBarUtil checkNeedTitleView
05-31 20:48:52.045 19818-19818/uni.UNIB2975BC E/useTime: name :start_app_set_rootview; <<-- 启动io.dcloud.common.core.ui.b$b{3f221f08 V.E..... ......ID 0,0-0,0} -->> useTime = 13
05-31 20:48:52.047 19818-19818/uni.UNIB2975BC E/DCloud_LOG: Webapp start __UNI__B2975BC
05-31 20:48:52.049 19818-19818/uni.UNIB2975BC E/webapp: start0 mAppid===__UNI__B2975BC
05-31 20:48:52.050 19818-19818/uni.UNIB2975BC E/StreamSDK: come into activeAppRootView
05-31 20:48:52.073 19818-19818/uni.UNIB2975BC E/IAN: new AppWidgetMgr 1590929332073appid==__UNI__B2975BC
05-31 20:48:52.079 1438-1585/? E/SurfaceFlinger: warning, detect vsync overflow!
05-31 20:48:52.177 19818-19818/uni.UNIB2975BC E/DCloud_LOG: createWindow before _url=
05-31 20:48:52.177 19818-19818/uni.UNIB2975BC E/DCloud_LOG: createWindow after _url=
05-31 20:48:52.186 19818-19818/uni.UNIB2975BC E/useTime: name :createFrameView; <<-- createFrameView耗时: -->> useTime = 11
05-31 20:48:57.596 1621-1673/system_process E/WifiStateMachine: WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0.00 rxSuccessRate=0.00 targetRoamBSSID=00:81:89:1a:db:7c RSSI=-45
05-31 20:49:02.365 19818-19818/uni.UNIB2975BC E/Html5Plus-SplashClosed: 1590929342365
05-31 20:49:02.365 19818-19818/uni.UNIB2975BC E/Main_Path: closeSplashScreen0 appid=__UNI__B2975BC;true;closeSplashDid=false