androidvirtual-machinegenymotionvdi

How do I uninstall an app from virtual device without having access to the virtual device


A package (an app) that I installed on a virtual device has resulted in the virtual device crashing on start up. The error logs directly point at the package I recently installed, which launches at start up and immediately crashes the whole system. I would like to know how this app can be removed now that I no longer can boot up the virtual device.

Update: Solution is to do as pointed out in the answer below and uninstall it using adb.


Solution

  • If you know the package name, use can use adb as follows:

    adb uninstall com.example.package_name
    

    Note that the package name isn't the same as the app's name. If you don't know the package name, then see this answer for how to find out.