Getting an error message while trying to run an apk through android studio 3.4 canary 1.
Gradle plugin version com.android.tools.build:gradle:3.4.0-alpha01
Installation failed with message Failed to commit install session 526049657 with command cmd package install-commit 526049657.. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
I have tried uninstalling the apk, restarting android studio and the device and invalidating caches and rebuilding but nothing seems to work.
I disabled "Instant Run" in settings, and it works for me.(Android Studio 3.4 canary)
Then you can see the adb command executed in the terminal is "adb push", while it is "adb install-multiple" before that is disabled.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With