Issue
When running an Android Test from Android Studio I always get:
Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
This happens even if I have uninstalled the app or created a fresh virtual device.
Any idea what this is and how to solve it?
Solution
I was also getting this same error on a fresh install when testing in Android Studio. In my case I changed the name of the testPackageName. This was the same as the default package name.
Now the tests are running smoothly. I don't know why it worked but it did. Increasing the versionCode should have worked but it didn't.
Answered By - karol
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.