聘我网

新概念招聘3.0

adb uninstall apk报Failure

vote up0vote downstar
D:\sensorsimulator-2.0-rc1\bin>adb install SensorSimulatorSettings-2.0-rc1.apk
147 KB/s (49681 bytes in 0.328s)
        pkg: /data/local/tmp/SensorSimulatorSettings-2.0-rc1.apk
Success

D:\sensorsimulator-2.0-rc1\bin>adb uninstall SensorSimulatorSettings-2.0-rc1.apk
Failure

为何能install却不能uninstall?

 

3 个答复

vote up0vote downcheck

uninstall时的参数应该是包名

SensorSimulator的包名是

org.openintents.sensorsimulator

所以应该执行:

adb uninstall org.openintents.sensorsimulator 

另外这个软件readme中如下说明:

Connect from your Android emulator to the SensorSimulator by entering the IP address that is shown in the SensorSimulator (if there are several possibilities, try which works)

指的是apk安装好之后在模拟器里面进行操作

链接
vote up0vote down

Thanks alot - your answer solved all my problems after seevral days struggling

链接
vote up0vote down

We could've done with that isnihgt early on.

链接

您的回答





不是您要找的问题? 浏览其他含有标签 的问题或者 自己问个.