Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio keeps building old version

it's been ages since I updated my app to the Play Store so possibly I'm skipping something simple but I've updated my code and my build gradle

    versionCode 15 //increased from v 14
    versionName "1.34" // increased from 1.33

But whenever it builds, it's building me a version from 27 September 2017 (possibly the last time I updated the app)

Build 27/09/17

I've tried cleaning and rebuilding but I'm still getting the old version compiled.

Any possible solutions?

like image 855
Ovalman Avatar asked Aug 10 '26 18:08

Ovalman


1 Answers

I've spent over two days trying out various solutions, but unfortunately, none of them worked. The only solution that worked for me was to delete the android/.idea folder and building the app again using Android Studio.

like image 88
Devorein Avatar answered Aug 13 '26 09:08

Devorein