Yasin_Li
Yasin_Li
  • 发布:2023-01-10 15:11
  • 更新:2023-01-10 16:26
  • 阅读:273

uni-app 离线打包运行后一直停留在启动页面

分类:uni-app

Android 10一下的手机能正常操作,Android 10及 以上的手机均不能正常访问,
Hbuilder版本3.6.15,APP离线打包基座 Android-SDK@3.6.15.81645_20221229

2023-01-10 15:11 负责人:无 分享
已邀请:
Yasin_Li

Yasin_Li (作者)

已解决:
解决方案,build.gradle 以及 AndroidManifest.xml 文件在不同版本的基座里边的设置项目不一样,需要严格 参照官方SDK

dependencies {  
    implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'], exclude: [])  

    implementation 'androidx.appcompat:appcompat:1.0.0'  
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'  
    implementation 'androidx.recyclerview:recyclerview:1.0.0'  
    implementation 'com.facebook.fresco:fresco:2.5.0'  
    implementation "com.facebook.fresco:animated-gif:2.5.0"  
    implementation 'com.github.bumptech.glide:glide:4.9.0'  
    implementation 'com.alibaba:fastjson:1.1.46.android'  
    implementation 'androidx.webkit:webkit:1.3.0'  
}

要回复问题请先登录注册