部署的apk文件在哪里?如何用adb卸载它? [英] Where is the deployed apk file? how to uninstall it with adb?
问题描述
我尝试使用adb这样安装apk:
I have tried to install my apk using adb like this:
D:\C_Desktop\Development\Android SDK\platform-tools>adb install "C:\test_haxe\bin\android\bin\bin\testhaxe-debug.apk"
4274 KB/s (3702929 bytes in 0.846s)
pkg: /data/local/tmp/testhaxe-debug.apk
Success
所以,它的安装很好,但是在我的手机上,我找不到apk文件,安装后是否将其删除了?!
so, its installed fine, but at my phone, I couldn't find the apk file, is it deleted after being installed?!
另外,我试图像这样卸载它:
also, I tried to uninstall it like this:
adb uninstall com.ketab.haxe
但是我得到
Failure
由于我没有模拟器,因此每次都必须安装该应用才能查看进度,因此我需要将其卸载并然后在手机上安装新应用,这是正确的方法吗?
Because I have no emulator, I will have to install the app each time to see the progress, so I will need to uninstall it and then install the new app on my phone, is this the right way to go any way?
推荐答案
来查找apk文件安装后的位置使用 pm路径< package>
命令:
to find out the apk file location after installation use pm path <package>
command:
adb shell pm path com.ketab.haxe
您可以尝试通过以下方式卸载软件包:
you could try uninstalling the package with:
adb shell pm uninstall com.ketab.haxe
使用以下命令检查错误消息:
in case of failure check the error message with:
adb logcat -d -s PackageManager:*
这篇关于部署的apk文件在哪里?如何用adb卸载它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!