Yesterday my app was running perfect from Android Studio. But today when I upgraded to Android Studio 3.4 Canary 6, I started getting the following error message continuously:
Installation failed with message Failed to commit install session
1249295977 with command cmd package install-commit 1249295977.It is
possible that this issue is resolved by uninstalling an existing
version of the apk if it is present, and then re-installing.
Error dialog:
When I click OK and then re-Run, I get this error message.
Session 'app':Error Installing APKs
I tried to manually delete the app, but it's already deleted from my phone. Restarting Android Studio, invalidating caches and rebuilding are not working either.
Best Answer
check 4 ways:
way 1: turn off Instant Run
way 2: Go to Build --> Clean Project and Run again
way 3: For those who use Xiaomi phones, follow these steps:
way 4: Run Invalidate caches/restart in android studio