Android 如何让adb重新安装工作?

Android 如何让adb重新安装工作?,android,android-emulator,Android,Android Emulator,我正试图从安装在模拟器上的SD映像中删除某些文件 NDUNN-PC ~ $ adb devices List of devices attached emulator-5554 device NDUNN-PC ~ $ adb shell rm -f /sdcard/maps/* rm failed for -f, Read-only file system NDUNN-PC ~ $ adb remount remount succeeded NDUNN-PC ~ $ adb shel

我正试图从安装在模拟器上的SD映像中删除某些文件

NDUNN-PC ~
$ adb devices
List of devices attached
emulator-5554   device


NDUNN-PC ~
$ adb shell rm -f /sdcard/maps/*
rm failed for -f, Read-only file system

NDUNN-PC ~
$ adb remount
remount succeeded

NDUNN-PC ~
$ adb shell rm -f /sdcard/maps/*
rm failed for -f, Read-only file system

从我读过的所有文档中,remount应该在读写/只读权限之间切换。但这在这种情况下似乎不起作用。知道怎么了吗?使用Windows XP,emulator运行的是Android SDK 1.6(带有Google Maps API)。

从rm中删除-f命令使其正常工作。奇怪。

因为-f不是受支持的选项,并且被“rm”视为文件。