Hi, we rename our release apks like this
applicationVariants.all { variant ->
variant.outputs.all { output ->
if (variant.buildType.name == "debug") return
// Rename APK
def variantName = variant.name
def date = new Date().format("dd-MM-yyyy")
def versionName = variant.versionName.replace(".", "-")
def versionCode = output.versionCodeOverride
def version = "v${versionName}_${versionCode}"
def gitHash = getGitHash()
outputFileName = "app_tm__${variantName}_${gitHash}__${date}__${version}.apk"
}
}
If I ran the uploadFooReleaseToBrowserstackAppLive it complains the apk is not found, even though it is there, but its renamed
If I disable the renaming, then it works fine
// agp 4.2.1, gradle 6.8.2, plugin 3.0.3
Hi, we rename our release apks like this
If I ran the
uploadFooReleaseToBrowserstackAppLiveit complains the apk is not found, even though it is there, but its renamedIf I disable the renaming, then it works fine
// agp 4.2.1, gradle 6.8.2, plugin 3.0.3