I'm going to update my apk on GooglePlay Store and I know that i have to upgrade the version code and name in manifest file however, it made install_failed.
Installation error: INSTALL_FAILED_VERSION_DOWNGRADE
Please check logcat output for more details. Launch canceled!
I modified the version code and name like this: android:versionCode="2" android:versionName="1.0.5"
Did i make it wrong?
Just uninstall the application on your device first and then install the fresh one.
When you are installing via adb
you can pass -d
to allow version downgrade
adb install -d -r your.apk
-r
will also replace the existing app
Installation error: INSTALL_FAILED_VERSION_DOWNGRADE Please check logcat output for more details. Launch canceled!
I solved it by using the command prompt,navigating to project folder >adb uninstall package (you can get the package from Manifest.xml file).
In my case : D:\projectFolder\AndriodApp>adb uninstall com.example.app
Again launch the App in emulator or mobile.
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