Flutter Sign or Release APK Android

Flutter Sign or Release APK Android :

Flutter Sign or Release APK Android

Flutter release apk create :

  • VS Code open Menu bar display Terminal >New Terminal

OR

  • Android Studio Terminal
  • keytool -genkey -v -keystore d:/key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias alisname
  • keytool -list -v -keystore d:key.jks -alias alisname -storepass password -keypass password (get detail sh1 key)
  • flutter create project open the file: build.gradle, add the bellows line.
defkeystoreProperties = new Properties()
defkeystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

	signingConfigs {
release {
keyAliaskeystoreProperties['keyAlias']
keyPasswordkeystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePasswordkeystoreProperties['storePassword']
        }
}

buildTypes {
release {
signingConfigsigningConfigs.release
        }
}

     This file android folder inside file create  key.properties

keyAlias=test
keyPassword=testl123
storeFile=d:/keystore.jks
storePassword=test123
  • flutter build apk –release

The flutter tutorial  is a website that bring you the latest and amazing resources of code. All the languages codes are included in this website. The languages like flutter, android, java,kotlin etc.with the help of this languages any user can develop the beautiful application

For more information about Flutter. visit www.fluttertutorial.in