adb uninstall failed

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

    okey I was in same situation I tried all of this without result.. and the last answer was close.. I got it doing the follow:

    in order to get the right name of your package do the follow:

    adb shell pm list packages | grep "name of your app here"

    you should see the right name of your app.. so now this one just works:

    adb uninstall com.your-real-app-name
    

    finally the command run works again:

    ionic run android
    

提交回复
热议问题