If you're directly using Gradle, or indirectly through Android Studio:
I fixed it by editing the version number inside of the build.gradle
file! There is a small banner at the bottom of the android.manifest file that says "these changes are being overwritten by the build.gradle file."
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…