Deploy
4 Android Device

Deploy to Android devices

  • Make sure you completed the Preparing your App step, then navigate to the folder created (e.g. my_first_app).
  • Run flutter create --platforms=android . (note the period at the end)
  • Run flutter build apk --no-tree-shake-icons to build the APKs (destination is /build/app/outputs/flutter-apk/).
  • Connect your Android device to your computer, then run adb install build/app/outputs/flutter-apk/app-release.apk.

Customizing your App

  • Play Store requires each app to have a unique app ID, which cannot be changed after your submit your App.
    • To update the app ID, open /android/app/build.gradle. Go to android > defaultConfig > applicationId and update the value.
    • Remove /android/app/src/main/AndroidManifest.xml.
    • Run flutter create --platforms=android ..
  • To update the app's name. Open /android/app/src/main/AndroidManifest.xml and change the android:label= to the app name.