laigf
laigf
  • 发布:2023-12-04 18:22
  • 更新:2023-12-13 12:28
  • 阅读:336

【报Bug】compileSdkVersion是33,手机版本版本是Android13之后,在权限管理也看不到文件和文档得权限

分类:uni-app

HbuilderX 版本为 3.9.8
Android 离线 SDK 版本为 3.9.8(Android-SDK@3.98.81972_20231127)

amap-gp-libs-release.aar  
aps-igexin-fcm-release.aar  
aps-release.aar  
aps-unipush-gp-release.aar  
Bluetooth-release.aar  
breakpad-build-release.aar  
fcm-3.1.1.aar  
fingerprint-release.aar  
geolocation-amap-release.aar  
lib.5plus.base-release.aar  
oauth-weixin-release.aar  
payment-alipay-release.aar  
payment-weixin-release.aar  
sdk-for-gj-4.4.3.1.aar  
uniapp-v8-release.aar
compileSdkVersion 33  
buildToolsVersion "33.0.0"  
minSdkVersion 22  
targetSdkVersion 33
dependencies {  
    implementation fileTree(include: ['*.jar'], dir: 'libs')  
    implementation fileTree(include: ['*.aar'], dir: 'libs')  
    implementation 'androidx.appcompat:appcompat:1.1.0'  
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'  
    implementation 'androidx.recyclerview:recyclerview:1.1.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.2.83'  
    implementation 'androidx.webkit:webkit:1.3.0'  
    implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'  
    implementation 'androidx.core:core:1.1.0'  
    implementation "androidx.fragment:fragment:1.1.0"  
    implementation 'androidx.multidex:multidex:2.0.1'  
}

AndroidManifest.xml 已添加:

<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />  
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />  
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />  
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32" />

其他:Android 11 上可以正常获取相关权限

2023-12-04 18:22 负责人:无 分享
已邀请:
DCloud_Android_zl

DCloud_Android_zl

问题重新描述一遍,没看懂

  • laigf (作者)

    就是在 android 13+ 手机上 “文件和文档” 权限无法获取

    2023-12-14 14:57

  • wwwzzz

    同样遇到,有安排新的离线sdk修复吗

    2023-12-18 09:12

  • DCloud_Android_zl

    回复 4***@qq.com: 你这个说的是存储权限?

    2023-12-20 12:31

  • laigf (作者)

    回复 DCloud_Android_zl: oppo android13 手机上的 文件和文档 权限

    2024-01-03 17:28

要回复问题请先登录注册