Android 10一下的手机能正常操作,Android 10及 以上的手机均不能正常访问,
Hbuilder版本3.6.15,APP离线打包基座 Android-SDK@3.6.15.81645_20221229
Yasin_Li
- 发布:2023-01-10 15:11
- 更新:2023-01-10 16:26
- 阅读:625
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'
}
1***@qq.com
详细说说
2024-12-25 09:30