Android10获取相册图片失败

报错open failed: EACCES:需要在 AndroidManifest.xml 中加入 android:requestLegacyExternalStorage=“true

<application    android:allowBackup="true"    android:icon="@mipmap/ic_launcher"    android:label="@string/app_name"    android:roundIcon="@mipmap/ic_launcher_round"    android:supportsRtl="true"    android:requestLegacyExternalStorage="true"    android:theme="@style/AppTheme">

更多相关文章

  1. Android图片旋转实例
  2. Android获取图片Uri/path
  3. 【Android】图片切换组件ImageSwitcher的运用
  4. Android 创建圆形背景图片
  5. Android base64 上传图片
  6. Android显示网络图片相关实现方法浅谈
  7. android 中Drawable跟Bitmap转换及常用于图片相关操作方法 - And
  8. android带图片的AlertDialog和文件管理器(代码)
  9. android GridView实现选中图片放大。

随机推荐

  1. android模仿百度新闻客户端工具栏
  2. Android 关机流程分析
  3. android 图片合成
  4. 书籍
  5. Android音量调节
  6. android生命周期onstop不一定会执行
  7. android 网址2
  8. Android APIDemo gif图片显示
  9. Android -- App生成快捷方式
  10. WindowManger