android uses listfiles() to get data is Null

Whether the read SD card directory exists, if so, please see if the permission to read the SD card is added in AndroidManifest.xml
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326989738&siteId=291194637