How To Change Apk Name By Editing Manifest File?
Solution 1:
In manifest file, you can change the application label only. If you want to change the apk file name, you should change your project name. To do this, you just right click on your project in Navigator windows, choose Refactor>Rename and type a new name for it.
Solution 2:
android update project --name your_desired_name --path .
This changes the ANT project name in build.xml.
Solution 3:
In Eclipse ( Either Windows or Linux) , right click the root of the project folder and rename the project. The apk will take the new name.
Solution 4:
go to manifest.xml where you can change the name of android:label to change the name of app example: if the app name is hello world! and you want to change to thug life then change android:label="hello world!" to android:label = "thug life" its as simple as i said
Solution 5:
from the manifest.xml you can change application lebel only. you cant change apk name from there.
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 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
Post a Comment for "How To Change Apk Name By Editing Manifest File?"