My app won't update. It builds and runs but it's some old version and the changes I've made aren't counted. If I make a Toast for example, it won't show. If I delete an existing one, it will still show.
I've tried the following already:
Updating Android Studio and updates in the SDK manager
uninstalling the app off my phone and reinstalling
cleaning
make sure "Gradle-aware Make" is in run configurations
File - invalidate caches
make sure "Skip installation" is unticked.
delete the build folder of the project and rebuilt
adb shell pm clear com.packagename.app - "Success" but not fixed
adb shell uninstall com.packagename.app - "Success" but not fixed
Increase versionCode and versionName in build.gradle
Change build variant
Making a new project and copying the files
Android Studio is installing old apk on device
I've tried doing it on another phone and it's stuck on an older version on that one too.
I had a similar problem with AndroidStudio Canary 2020.3.1 Canary 2.
In my case it helped to check Run/Debug Configurations/Always install with package manager.
(I might have missed some simple reason for this behaviour, though.)
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