之前试过各种办法,加了很多权限都无法删除外置的U盘中的文件,后面加了一句话,完美解决: 只需要在<manifest>中添加一句话就可以: android:sharedUserId="android.uid.system" ok!