79166195

Date: 2024-11-07 11:22:11
Score: 1
Natty:
Report link

I already specify the outputFileName, here the code :

Even though i already specify the output still same :

√ Built build\app\outputs\flutter-apk\app-release.apk (50.0MB)

but the below method previously worked, but after I added code or fixed my code in lib, this method doesn't work

applicationVariants.all { variant ->
    variant.outputs.all { output ->
        def newName = "Goods Tracker.apk"
        output.outputFileName = newName
    }
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Zebra