This happens when you do the following
- connect your device/emulator
- run the app from Android Studio (AS)
- use/test the app and uninstall it from the device while it is still connected to your computer
- try to run the app again from AS
AS thinks you still have the app in your device.
tl;dr - To resolve this issue for connected devices you can uninstall with ADB:
$ adb shell pm list packages
package:com.foo.foo
$ adb uninstall com.foo.foo
Success
Run app from AS again after uninstalling with ADB.
No comments:
Post a Comment