Reputation: 57
I'm running Android Studio 3.3.2 creating a simple app for Android 9.0. The app runs correctly on the emulator, Nexus 5X API 27. My Samsung J7 test phone is API 27, too.
When I run on the phone with the versionCode 1 (the default in the gradle build at the module level) the app runs well on the phone. If I change the versionCode to 33, however, the app crashes on run (and keeps crashing). I un-install the app before loading a new version.
The versionCode and versionName of the apk on the phone are what they should be and the manifest looks good on the phone via "Apk Analyzer".
Upvotes: 0
Views: 449
Reputation: 381
This happened to me too but the app stopped crashing after updating/increasing the versionName
in build.gradle
.
Upvotes: 0