且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

始终在Android中拒绝FileNotFoundException权限

更新时间:2022-05-09 10:59:24

如果您使用的是模拟器,则需要在您的计算机中设置特定的 sd卡值模拟器,以便您可以测试和下载文件.

If you're using an emulator, you need to set a specific sd card value in your emulator so that you can test and download the file.

如果您使用的是设备,请先安装apk,然后尝试下载该文件.并确保设备具有存储卡 sd卡

If you're using a device then install the apk and then try to download the file. And make sure that the device has a memory card or sd card

因此,您确实需要 sdcard/memcard 来下载文件.

So you really need sdcard/memcard to download the file.