adb 安装APK时rm failed for -f, Read-only file system解决办法

时间:2021-05-08 14:01:26

今天下午学习adb的一些常见命令,当给模拟器安装apk时,总会弹出如下错误信息:

Failure [INSTALL_FAILED_OLDER_SDK]
rm failed for -f, Read-only file system

在网上搜寻了好多办法,都不管用,最后还是在Stack OverFlow上找到答案:

There was something wrong with AVD or API. I created new configuration with API Level 24 and it helped

我验证了,管用!!