Skip to content

Latest commit

 

History

History
45 lines (42 loc) · 1.26 KB

Android.md

File metadata and controls

45 lines (42 loc) · 1.26 KB

Android

This documentation is helpful for running and testing this project on Android devices.

Signed Appbundle

https://docs.flutter.dev/deployment/android

  1. Open a terminal and run
keytool -genkey -v -keystore c:\key.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 1000 -alias upload
  1. Create a file named TankControllerManager/android/key.properties and in it
storePassword=<password from step one>
keyPassword=<password from step one>
keyAlias=<alias from step one>
storeFile=<location of output from step one, may require double backslashes '\\' in file path, c:\\key.jks>
  1. Run
flutter build appbundle

Unsigned APK

  1. Open a terminal and run
flutter build apk --split-per-abi

Debugging

  1. Ensure Android Studio, Android SDK, Android SDK Platform-Tools, and Android SDK Build-Tools, are all updated. Run
flutter doctor
  1. Enable developer options and USB debugging on the device.
  2. Once plugged in, run
flutter devices
  1. Finally run
flutter run -d deviceID

Contributors

All Contributors