因为AndroidStudio把versionCode和versionName的维护放到了build.gradle中。 转载于:https://www.cnblogs.com/yidijimao/p/6669517.html