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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,394 Views
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?

Labels (1)
0 Kudos
Reply
0 Replies