forked from core/mobile_nebula
README.md updates for Android
This commit is contained in:
parent
dd1bc9e3f9
commit
4e6b18b07d
36
README.md
36
README.md
|
@ -22,9 +22,36 @@ flutter format lib/ test/ -l 120
|
||||||
|
|
||||||
# Release
|
# Release
|
||||||
|
|
||||||
Update `version` in `pubspec.yaml` to reflect this release, then
|
|
||||||
|
|
||||||
## Android
|
|
||||||
|
# Android
|
||||||
|
|
||||||
|
## Terminology
|
||||||
|
APK: Android Package
|
||||||
|
ADB: Android Debug Bridge - A tool for interacting with running emulators
|
||||||
|
AVD: Android Virtual Device Manager - A tool for launching, configuring and managing emulators
|
||||||
|
|
||||||
|
# `ADB` (Android Debug Bridge)
|
||||||
|
Android Debug Bridge is an executible that can be found under `~/Android/Sdk/platform-tools/adb` for ease of use add `~/Android/Sdk/platform-tools/` to your `$PATH`. `adb` surfaces a few useful commands.
|
||||||
|
|
||||||
|
You can sideload a downloaded APK into a running emulator
|
||||||
|
```
|
||||||
|
$ adb install ~/Downloads/Ping_v1.7.03_apkpure.com.apk
|
||||||
|
Performing Streamed Install
|
||||||
|
Success
|
||||||
|
```
|
||||||
|
|
||||||
|
You can also use shell to access network utilities like ping
|
||||||
|
```
|
||||||
|
$ adb shell ping 127.0.0.1
|
||||||
|
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
|
||||||
|
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.206 ms
|
||||||
|
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.056 ms
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
|
## Release
|
||||||
|
Update `version` in `pubspec.yaml` to reflect this release, then
|
||||||
|
|
||||||
`flutter build appbundle --no-shrink`
|
`flutter build appbundle --no-shrink`
|
||||||
|
|
||||||
|
@ -32,6 +59,9 @@ This will create an android app bundle at `build/app/outputs/bundle/release/`
|
||||||
|
|
||||||
Upload the android bundle to the google play store https://play.google.com/apps/publish
|
Upload the android bundle to the google play store https://play.google.com/apps/publish
|
||||||
|
|
||||||
## iOS
|
# iOS
|
||||||
|
|
||||||
In xcode, Release -> Archive then follow the directions to upload to the app store. If you have issues, https://flutter.dev/docs/deployment/ios#create-a-build-archive
|
In xcode, Release -> Archive then follow the directions to upload to the app store. If you have issues, https://flutter.dev/docs/deployment/ios#create-a-build-archive
|
||||||
|
|
||||||
|
## Release
|
||||||
|
Update `version` in `pubspec.yaml` to reflect this release, then
|
||||||
|
|
Loading…
Reference in New Issue