How to automatically mount the sd card in android9 so that the app can access the sd card?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to automatically mount the sd card in android9 so that the app can access the sd card?

1,606 次查看
shaokunyuan
Contributor I

I inserted an SD card on the development board, modified the device/fsl/imx8m/evk_8mm/fstab.freescale file,

Add the following content in the last line:

/devices/platform/30b50000.mmc/mmc_host/mmc1/* auto vfat defaults voldmanaged=sdcard:auto

After the image is compiled and burned, it can be accessed under the admin user, but my own app cannot access the SD card. How should I modify the file?

标签 (1)
标记 (4)
0 项奖励
回复
0 回复数