adb uninstall failed

前端 未结 24 1556
清歌不尽
清歌不尽 2020-12-12 18:44

I am writing some sample apps.
After I debug these apps, I don\'t see an uninstall button in my device\'s application management.
When I do adb uninstall, it always

相关标签:
24条回答
  • 2020-12-12 19:21

    If You use Xiomi Device then You need to Login in MI Account.

    After Successful Registration you can install and Uninstall via ADB.

    0 讨论(0)
  • 2020-12-12 19:21

    I had a failure when using adb shell uninstall com.package.app/

    removed / (so adb shell uninstall com.package.app) and it works

    0 讨论(0)
  • 2020-12-12 19:22

    Seems like you have an app that contains a hidden Device Administrator like this one here: http://www.symantec.com/security_response/writeup.jsp?docid=2013-060411-4146-99

    you can only uninstall such an app when you disable the device admin first. You can use https://play.google.com/store/apps/details?id=com.trendmicro.mtrt.hiddenDAcleaner to disable it or do it by your own by sending the intent to the app that invokes the receiver that will disable the device admin.

    0 讨论(0)
  • 2020-12-12 19:23

    Try disable "Instant run" from Preference! It's working for me.

    0 讨论(0)
  • 2020-12-12 19:25

    You should have to manually delete apps. got to Setting-> Application Management -> Running application, tap on it and you can remove, stop apps from there.

    0 讨论(0)
  • 2020-12-12 19:26

    You have the name of the apk and not the package name: You should first know the package name. Fot this tape:

    adb shel pm list packages

    Once you have the package name (be carefull, package name is like com.intel.... and not package:com.intel...), tape:

    adb shell pm uninstall -k "package_name"

    and Bingo!

    0 讨论(0)
提交回复
热议问题