DWQA QuestionsCategory: ServerWhy does Android App version number change invalid
Take a nap in the afternoon asked 5 days ago

Why does this change the version number still doesn’t work? It’s always 1.0

 <manifest xmlns:android="http://schemas.android.com/apk/res/android"

Is there any other reason why I’m wrong in my modification

Thirty two cicadas replied 5 days ago

build.gradle If the version number is configured, the version information in the manifest will be overridden

2 Answers
chuyao answered 5 days ago

Are you using Android studio? If so, please check the version number in the main module build.gradle Under the default config in the.

Take a nap in the afternoon replied 5 days ago

That’s right. I just found it. The version number is also set in gradle, and it has a higher priority

edagarli answered 5 days ago

Version code is the key to version control.
Each release version must be greater than the last version code. If the version code of the last version 1.0 was version 2, it must be greater than 2 this time