Android Studio fail to install apk automatically, because AS use a incorrect name

56 views Asked by At

I have declared versionName 1.1.8 in gradle file AS generates apk file under the outputs folder, say MyApp-1.1.8-release But when AS install the apk, it uses a path named with MyApp-1.1.0-release I can not search the words "1.1.0" in the whole project I don't know where AS find the wrong version name

Can we config app name in AS?

1

There are 1 answers

0
Xiao Jiang On

Clean the project, sync Gradle, then re-run the app. But it didn't work last Saturday. Actually, the root cause didn't be found