尝试使用Fastlane Supply上传Cordova版本失败,并显示以下错误:
Google Api错误:multiApkShadowedActiveApk:此应用的版本10125 无法通过任何设备下载,因为他们都会收到APK 使用更高版本的代码。
我更新到cordova-android 6.0.0
后可能已经开始发生了。不能确定。
我可能补充的一点是,我没有在项目的任何地方指定10125
版本的版本。我只将version
标记内的widget
属性更新为X.X.X
版本样式。
答案 0 :(得分:0)
It turns out, cordova-android
changed how it calculates the versionCode
out of the version
value inside the widget
tag.
The solution is to manually specify versionCode:
<widget version="1.1.26" android-versionCode="101260" ... >