How to change generated APK name in Android Studio

By default, Android Studio generates APK name like app-debug.apk or app-release.apk. But, i want to generate my own APK name. You can change it with your whatever name you desire with small changes in build.gradle file. Then Android Studio will generate signed APK for you.

This tutorial will help you to change generated APK name. This is the simple one that works for me using Android Studio 3.

Edit module(app) build.gradle, and add below:

android.applicationVariants.all { variant ->    variant.outputs.all {        def appName = "YourAPKName"        outputFileName = appName+"-${variant.versionName}.apk"    }}

This code will generate file with name: YourAPKName-1.0.apk


  • android studio change release apk name
See also  Accessing StreamingAssets in Android or iOS

About wahyuway

Check Also

Cannot Launch Android Emulator

Android Emulator is useful when you want to debug locally inside your environment. We can …

Leave a Reply