Android Studio continues to download old versions of apk

I recently had a problem launching my project from Android Studio, the APK downloaded to my device from Android Studio is not updated.

I checked in the output library and it creates a new APK, but loads the old one.

after many things I tried, the only thing that works is to do Gradlesync, but every time I want to start my project, I need to do it again and again ... this thing is driving me crazy!

this is my gradle if necessary:

 dependencies {
     classpath 'com.android.tools.build:gradle:1.+'
 }

this is my launch version:

enter image description here

+3
source share
2 answers

getDate build.gradle:

versionName "2.3_" + getDate()

getDate() .

+1

- . , , "gradle aware make" . , +,

0

All Articles