App version always 0.0(0) after upload to fabric beta

浪尽此生 提交于 2020-01-14 03:33:25

问题


I have strange problem with app version in fabric beta. After executing task :app:crashlyticsUploadDistribution build uploaded successfully. Version name and version code are correct for build, but version in the list of uploaded builds is always 0.0(0).And after downloading, versions of this builds are correcting. Wrong versions displayed only on fabric.

Update:

For setting version name and code I'm using "com.gladed.androidgitversion" plugin :

androidGitVersion {
   format '%tag%'
   }
android {
    defaultConfig {
    applicationId "my_package"
    minSdkVersion 19
    targetSdkVersion 25
    multiDexEnabled true

    versionName androidGitVersion.name()
    versionCode androidGitVersion.code()
}

}

来源:https://stackoverflow.com/questions/47181179/app-version-always-0-00-after-upload-to-fabric-beta

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!