GOLDTV IPTV DOCUMMENTS
  • Introduction
    • Required
    • Start
  • Android
    • Icons
    • Get dependencies
    • Change Package name
  • Settings
    • Colors
    • Text App
    • Language
  • Firebase
    • Install Firebase CLI
    • Firebase Flutter Project
    • Admin Panel Firebase
  • Build app
    • Run app
    • Build and install the application
Powered by GitBook
On this page
  1. Android

Change Package name

If you want to change the package name, follow these steps

1 - Open /android/app/build.gradle Change File name

android {
    //TODO: 1 Change package name
    namespace = "<REPLACE WITH YOUR PACKAGE NAME>"
    compileSdk = 34
    ndkVersion ="25.1.8937393"


defaultConfig {
	// TODO 2 this is the package name
	applicationId "<REPLACE WITH YOUR PACKAGE NAME>" 
	minSdkVersion 21
	targetSdkVersion 34
	versionCode flutterVersionCode.toInteger()
	versionName flutterVersionName
	testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

3 - Open /android/app/src/main/kotlin/<Your Package name folders>/MainActivity.kt Change to your Package name
PreviousGet dependenciesNextSettings

Last updated 5 months ago