You would get an apk like this: myProject_dev_debug_1.3.6_131016_1047.apk. I was looking for a more complex apk filename renaming option and I wrote this solution that renames the apk with the following data: (EDITED to work with Android Studio 3.0 and Gradle 4) aab bundle is done by the previous code there don't require any task rename at all. What I have observed in the latest version of the android studio 3.3.1 Rename "app.aab", to David Medenjak for this block of code You might get the error with the latest android gradle plugin ( 3.0):Ĭannot set the value of read-only property 'outputFile'Īccording to the migration guide, we should use the following approach now: applicationVariants.all /outputs/renamedBundle/")
0 Comments
Leave a Reply. |