5***@qq.com
5***@qq.com
  • 发布:2021-08-13 16:30
  • 更新:2021-12-09 19:20
  • 阅读:1096

【关于Android 离线打包】Android stuidio 运行后,界面一直停留在 Splash 界面。

分类:uni-app
  • 问题:HBuilderX 版本(3.1.22.20210709)原生App 本地打包后,在 AndroidStudio 配置后运行,报错:
    createWindow before _url=null  
    createWindow not manifestBeParsed
  • 自检:

    1. appId 检查过,配置没问题
  • 错误 Log

    2021-08-13 16:07:56.517 9427-9427/com.fortunetea.blessingtea E/WeexInstanceMgr: resAppVersionName--=   +fcAppVersionName=     true  
    2021-08-13 16:07:56.600 9427-9462/com.fortunetea.blessingtea E/weex: tryUseRunTimeApi ? false  
    2021-08-13 16:07:56.649 9427-9427/com.fortunetea.blessingtea E/DCLoudApplicationImpl: mApplication--=com.fortunetea.blessingtea.FortuneTeaApplication@86622c9  
    2021-08-13 16:07:56.822 9427-9427/com.fortunetea.blessingtea E/ResourceType: Style contains key with bad entry: 0x0101058c  
    2021-08-13 16:07:56.861 9427-9427/com.fortunetea.blessingtea E/ResourceType: Style contains key with bad entry: 0x0101058c  
    2021-08-13 16:07:56.992 9427-9427/com.fortunetea.blessingtea E/ResourceType: Style contains key with bad entry: 0x0101058c  
    2021-08-13 16:07:56.997 9427-9427/com.fortunetea.blessingtea E/Html5Plus-onCreate: 1628842076997  
    2021-08-13 16:07:57.025 9427-9427/com.fortunetea.blessingtea E/DCloud_LOG: channel:;ver:1.9.9.80895;max:3;trim:0;dg:true  
    2021-08-13 16:07:57.279 9427-9469/com.fortunetea.blessingtea E/Preprocessor: ***ATTENTION*** Preprocessor preloadClasses failed: com.tencent.tbs.core.webkit.tencent.TencentWebViewClient$4  
    2021-08-13 16:07:57.342 9427-9427/com.fortunetea.blessingtea E/TelephonyUtil: getIMEI exception==length=1; index=1  
    2021-08-13 16:07:57.355 9427-9462/com.fortunetea.blessingtea E/WXParams: setCrashFilePath: /data/user/0/com.fortunetea.blessingtea/app_crash  
    2021-08-13 16:07:57.355 9427-9462/com.fortunetea.blessingtea E/weex: weexjss's Path is/data/app/com.fortunetea.blessingtea-1/lib/arm/libweexjss.so  
    2021-08-13 16:07:57.365 9427-9462/com.fortunetea.blessingtea E/weex: getUseSingleProcess is running false  
    2021-08-13 16:07:57.365 9427-9462/com.fortunetea.blessingtea E/WeexCore: params_utils.cpp:214,g_use_single_process is false   
    2021-08-13 16:07:57.365 9427-9462/com.fortunetea.blessingtea E/weex: getReleaseMap:true  
    2021-08-13 16:07:57.365 9427-9462/com.fortunetea.blessingtea E/weex: getLibJscPath is running   
    2021-08-13 16:07:57.366 9427-9462/com.fortunetea.blessingtea E/WeexCore: params_utils.cpp:258,g_jscSoPath is    
    2021-08-13 16:07:57.366 9427-9462/com.fortunetea.blessingtea E/weex: getLibJssPath is running /data/app/com.fortunetea.blessingtea-1/lib/arm/libweexjss.so  
    2021-08-13 16:07:57.366 9427-9462/com.fortunetea.blessingtea E/WeexCore: params_utils.cpp:271,g_jssSoPath is /data/app/com.fortunetea.blessingtea-1/lib/arm/libweexjss.so   
    2021-08-13 16:07:57.366 9427-9462/com.fortunetea.blessingtea E/WXParams: getCrashFilePath:/data/user/0/com.fortunetea.blessingtea/app_crash  
    2021-08-13 16:07:57.366 9427-9462/com.fortunetea.blessingtea E/WeexCore: params_utils.cpp:283,g_crashFilePath is /data/user/0/com.fortunetea.blessingtea/app_crash   
    2021-08-13 16:07:57.366 9427-9462/com.fortunetea.blessingtea E/weex: getLibIcuPath is running /system/usr/icu/icudt56l.dat  
    2021-08-13 16:07:57.366 9427-9462/com.fortunetea.blessingtea E/WeexCore: params_utils.cpp:296,g_jssIcuPath is /system/usr/icu/icudt56l.dat   
    2021-08-13 16:07:57.367 9427-9462/com.fortunetea.blessingtea E/weex: getLibJsbPath is running /data/user/0/com.fortunetea.blessingtea/cache/cache/weex/libs/weexjsb/armeabi-v7a/libweexjsb.so  
    2021-08-13 16:07:57.367 9427-9462/com.fortunetea.blessingtea E/weex: getLibLdPath is running /data/app/com.fortunetea.blessingtea-1/lib/arm:/data/app/com.fortunetea.blessingtea-1/base.apk!/lib/armeabi-v7a  
    2021-08-13 16:07:57.369 9427-9462/com.fortunetea.blessingtea E/WeexCore: setDebugMode  2   
    2021-08-13 16:07:57.369 9427-9462/com.fortunetea.blessingtea E/WeexCore: multi_process_and_so_initializer.cpp:38,MultiProcessAndSoInitializer IS IN init  
    2021-08-13 16:07:57.369 9427-9462/com.fortunetea.blessingtea E/WeexCore: weex_js_connection.cpp:142,WeexJSConnection g_crashFileName: /data/user/0/com.fortunetea.blessingtea/app_crash/crash_dump.log  
    2021-08-13 16:07:57.371 9427-9462/com.fortunetea.blessingtea E/WeexCore: weex_js_connection.cpp:262,startupPie :1  
    2021-08-13 16:07:57.562 9427-9427/com.fortunetea.blessingtea E/ResourceType: Style contains key with bad entry: 0x0101058c  
    2021-08-13 16:07:57.579 9427-9427/com.fortunetea.blessingtea E/Html5Plus-onResume: 1628842077579  
    2021-08-13 16:07:57.646 9427-9427/com.fortunetea.blessingtea E/DCloud_LOG: fmgr no dp  
    2021-08-13 16:07:57.669 9427-9427/com.fortunetea.blessingtea E/Main_Path: FeatureMgr.loadBootOptions io.dcloud.feature.statistics.StatisticsBootImpl  
    2021-08-13 16:07:57.669 9427-9427/com.fortunetea.blessingtea E/Main_Path: FeatureMgr.loadBootOptions io.dcloud.feature.aps.APSFeatureImpl  
    2021-08-13 16:07:57.697 9427-9427/com.fortunetea.blessingtea E/DCloud_LOG: channel:;ver:1.9.9.80895;max:3;trim:0;dg:true  
    2021-08-13 16:07:57.707 9427-9427/com.fortunetea.blessingtea E/DCloud_LOG: PlatformUtil.getResInputStream FileNotFoundException pFilePath=apps/__UNI__BBAA8C5/www/manifest.json  
    2021-08-13 16:07:57.709 9427-9427/com.fortunetea.blessingtea E/AppMgr: __UNI__BBAA8C5  app error,io.dcloud.f.a.g@f9d6953  
    2021-08-13 16:07:57.710 9427-9427/com.fortunetea.blessingtea E/DCloud_LOG: PlatformUtil.getResInputStream FileNotFoundException pFilePath=data/dcloud_url.json  
    2021-08-13 16:07:57.711 9427-9427/com.fortunetea.blessingtea E/DCloud_LOG: PlatformUtil.getResInputStream FileNotFoundException pFilePath=data/api.json  
    2021-08-13 16:07:58.022 9427-9427/com.fortunetea.blessingtea E/X5InitImpl:  onViewInitFinished is true  
    2021-08-13 16:07:58.304 9427-9427/com.fortunetea.blessingtea E/appMgr: START_APP__UNI__BBAA8C5  
    2021-08-13 16:07:58.306 9427-9427/com.fortunetea.blessingtea E/DCloud_LOG: PlatformUtil.getResInputStream FileNotFoundException pFilePath=storage/emulated/0/Android/data/com.fortunetea.blessingtea/apps/__UNI__BBAA8C5/www/manifest.json  
    2021-08-13 16:07:58.310 9427-9427/com.fortunetea.blessingtea E/streamsdk: come into createAppRootView pAppid===__UNI__BBAA8C5  
    2021-08-13 16:07:58.311 9427-9427/com.fortunetea.blessingtea E/streamsdk: come into createAppRootView and new le rootview  pAppid===__UNI__BBAA8C5  
    2021-08-13 16:07:58.323 9427-9427/com.fortunetea.blessingtea E/useTime: name :start_app_set_rootview; <<-- startio.dcloud.common.core.ui.a$l{e6078a3 V.E...... ......ID 0,0-0,0} -->> useTime = 19  
    2021-08-13 16:07:58.324 9427-9427/com.fortunetea.blessingtea E/DCloud_LOG: Webapp start __UNI__BBAA8C5  
    2021-08-13 16:07:58.326 9427-9427/com.fortunetea.blessingtea E/webapp: start0 mAppid===__UNI__BBAA8C5  
    2021-08-13 16:07:58.327 9427-9427/com.fortunetea.blessingtea E/StreamSDK: come into activeAppRootView  
    2021-08-13 16:07:58.449 9427-9427/com.fortunetea.blessingtea E/WXViewWrapper: WXViewWrapper----------isPre=false  wxid=__uniapp__service  
    2021-08-13 16:07:58.454 9427-9427/com.fortunetea.blessingtea E/IAN: new AppWidgetMgr   1628842078454appid==__UNI__BBAA8C5  
    2021-08-13 16:07:58.515 9427-9427/com.fortunetea.blessingtea E/DCloud_LOG: createWindow before _url=null  
    2021-08-13 16:07:58.515 9427-9427/com.fortunetea.blessingtea E/DCloud_LOG: createWindow not manifestBeParsed
2021-08-13 16:30 负责人:无 分享
已邀请:
3***@qq.com

3***@qq.com

请问解决了么你

4***@qq.com

4***@qq.com

你好,请问问题解决了吗,我也遇到了这个问题,报错日志跟你的很相似。使用的HBuilderX的版本是3.2.6,一开始Android项目里的sdk版本是3.2.5,通过AS运行apk到手机是正常的,只是提示sdk版本不一致,后面更新sdk版本为3.2.6,uniapp项目里配置了一个本地插件,然后运行apk就卡在启动页了。sdk版本用回3.2.5,本地插件去掉了,问题依旧,真奇怪。

  • 4***@qq.com

    使用云打包后的apk运行一切正常,同样的代码,我怀疑还是3.2.6的sdk存在问题

    2021-12-10 12:02

该问题目前已经被锁定, 无法添加新回复