Android Studio won't install a new APK - old one won't go away on phone
<p>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.</p>

<p>I've tried the following already:</p>

<ul>
<li><p>Updating Android Studio and updates in the SDK manager</p></li>
<li><p>uninstalling the app off my phone and reinstalling</p></li>
<li><p>cleaning</p></li>
<li><p>make sure "Gradle-aware Make" is in run configurations</p></li>
<li><p>File - invalidate caches</p></li>
<li><p>make sure "Skip installation" is unticked.</p></li>
<li><p>delete the build folder of the project and rebuilt</p></li>
<li><p>adb shell pm clear com.packagename.app - "Success" but not fixed</p></li>
<li><p>adb shell uninstall com.packagename.app - "Success" but not fixed</p></li>
<li><p>Increase versionCode and versionName in build.gradle</p></li>
<li><p>Change build variant</p></li>
<li><p>Making a new project and copying the files</p></li>
<li><p><a href="https://stackoverflow.com/questions/25831082/android-studio-is-installing-old-apk-on-device">Android Studio is installing old apk on device</a></p></li>
</ul>

<p>I've tried doing it on another phone and it's stuck on an older version on that one too.</p>