2***@qq.com
2***@qq.com
  • 发布:2019-05-22 16:07
  • 更新:2021-05-06 18:46
  • 阅读:5137

uni-app运行时卡在启动界面

分类:uni-app

1.manifest.json中的ID我改成了assets.apps.UNI9B2EA9F中的UNI9B2EA9F

    1. dcloud_control.xml中的appid我也改成了UNI9B2EA9F
  1. 但是打包后在华为手机上面运行还是出现卡在启动界面的问题,我不知道该怎么解决,请问有大佬知道吗?
    我也看过啦 DCloud问答 官方文档,但问题还是没有解决

decloud_control.xml 配置  
<hbuilder version="1.9.9.63402">  
    <apps>  
        <app appid="__UNI__9B2EA9F" appver=""/>  
    </apps>  
</hbuilder>  

manifest.json配置  
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__9B2EA9F","name":"uni-collapse","version":{"name":"1.0.0","code":"100"},"description":"登录模板","launch_path":"__uniapptabbar.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app appservice","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#0faeff"},"usingComponents":true,"allowsInlineMediaPlayback":true,"safearea":{"background":"#ffffff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"1.9.8","control":"v8"},"secondwebview":{"id":"1","launch_path":"__uniappview.html","kernel":"WKWebview","mode":"child","top":0,"bottom":56}}}  
2019-05-22 16:07 负责人:无 分享
已邀请:
jzq84229

jzq84229

请确认build.gradle是否添加

aaptOptions {  
        additionalParameters '--auto-add-overlay'  
        //noCompress 'foo', 'bar'  
        ignoreAssetsPattern "!.svn:!.git:.*:!CVS:!thumbs.db:!picasa.ini:!*.scc:*~"  
    }

可参考这篇文章 https://ask.dcloud.net.cn/article/35139

2***@qq.com

2***@qq.com - 小博

bug修好没?

  • 7***@qq.com

    请问你知道怎么解决这个问题嘛?我也遇到了

    2021-04-29 12:07

g***@aliyun.com

g***@aliyun.com

解决了吗?求指教

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