-3
我使用的是AVD,我可以使用命令“ls”查看文件,“adb remount”并显示重新安装成功,但使用“亚行推“错误:‘设备离线’和‘无效的APK文件:1.apk’使用命令时,‘亚行安装’使用命令“adb install”或“adb push”时出错:设备脱机
这里是CMD输出
D:\android-sdk\platform-tools>adb remount
remount succeeded
D:\android-sdk\platform-tools>adb shell
[email protected]_x86_64:/ # adb install 1.apk
adb install 1.apk
Invalid APK file: 1.apk
255|[email protected]_x86_64:/ # adb push 1.apk /sdcard
adb push 1.apk /sdcard
error: device offline
1|[email protected]_x86_64:/ #
1|[email protected]_x86_64:/ # ls
ls
acct
cache
charger
config
d
data