adb uninstall failed

前端 未结 24 1774
清歌不尽
清歌不尽 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:32

    You can follow below steps to uninstall the app from the device via command prompt.

    1. execute the command : adb -s [devicename] uninstall -k [packagename]. this command will retain the data and cache in the device but will remove the app from the device.
    2. To remove the data and cache also from the device along with the application execute the command below. adb shell pm uninstall -k [packagename].

    if it shows sucess your app is uninstalled successfully'

提交回复
热议问题