我正在将我的应用移植到Android Studio,并遇到了这个问题,即从库项目的清单文件1
中检测到APK的版本代码(上传到Google Play时)circularImageView
1}})。我的实际应用程序在下面命名为app
。
当我尝试将应用上传到Google Play时,它说我的versionCode = 1(见下面的截图):
请参阅下面的实际应用中的版本代码58
。
答案 0 :(得分:4)
Android工作室始终从您的项目build.gradle
文件
请参阅Android Studio build.gradle
答案 1 :(得分:0)
更改应用的build.gradle
中的代码版本。 Android工作室在运行时结合了Manifest。我想如果你没有在build.gradle
中提到codeVersion,那么它会在合并所有项目后从Manifest中选择版本。