
Go to in your project & then Tools -> Flutter -> Open for Editing in Android Studio as shown below Version: 1.0.0+1 then change it or upgrade it to the version: 1.0.0+2 or any other greater number than previous after + sign.Īnd if flutter.versionCode in Project -> android -> local.properties isįlutter.versionCode=1 then change it or upgrade it to the flutter.versionCode=2 or any other greater number than previous code. If previous flutter version code in pubspec.yaml file is
#Mac os x i already generated a keystore file, find my key hash for facebook sdk apk#
Now just follow the following steps to build signed apk with existing keystore details.īefore generating Signed APK with existing keystore details make sure upgrade each time your Flutter Version from pubspec.yaml file and Version Code from local.properties file. If you generated previous fresh Signed APK using Android Studio as steps given in bellow link then don't worry. When you build your flutter app with flutter build apk a release apk with the given keystore will be generated in build/app/outputs/apk/release/app-release.apk.


In your app/adle add those lines: def keystorePropertiesFile = rootProject.file("key.properties")ĭef keystoreProperties = new Properties() Then place your *.jks (in this case android.jks) in android/ Edit the AndroidManifest according to your needs then add in android/key.properties the keystore data: storePassword=STORE_PASSWORD
