Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.28 KB

Platform-android.md

File metadata and controls

52 lines (39 loc) · 1.28 KB

Android

Back to Readme.

Build

... minSdkVersion=16

flutter build appbundle --release
# flutter build appbundle --target-platform android-arm,android-arm64
# flutter build apk --release --target-platform=android-arm
# flutter build appbundle --release --target-platform=android-arm
# flutter run --release --target-platform=android-arm

... minSdkVersion=21

# flutter build appbundle --release --target-platform=android-arm64
# flutter build apk --release --target-platform=android-arm64
# flutter run --target-platform=android-arm64
# flutter run --enable-software-rendering --target-platform=android-arm64
# flutter build appbundle --release --target-platform=android-arm64
# flutter build apk --split-per-abi --release

Config

analytics (debug on windows)

# Powershell
cd $env:UserProfile/.dev/sdk/platform-tools
# Command Prompt
cd %UserProfile%/.dev/sdk/platform-tools

adb shell setprop debug.firebase.analytics.app "com.laisiangtho.bible"

Keytools

# 'keytool' is not recognized as an internal or external command,
# operable program or batch file.
# Command Prompt: set Path temporary
set PATH=%ProgramFiles%\Android\Android Studio\jre\bin

# Command Prompt: check key
cd [key directory]
keytool -v -list -keystore keystore.jks