Ionic | Advanced Know-How

Inhaltsverzeichnis [Anzeigen]

Working on Android

Start emulator

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$ emulator -list-avds
6
6_x86_64
7
$ emulator -list-avds 6 6_x86_64 7
$ emulator -list-avds
6
6_x86_64
7
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$ emulator @6
$ emulator @6
$ emulator @6

Show logfile messages

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$ adb logcat
$ adb logcat
$ adb logcat

Run on Device

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$ adb uninstall io.ionic.conference
$ ionic run android
adbuninstallio.ionic.conference ionic run android
$ adb uninstall io.ionic.conference
$ ionic run android

Working on iOS

List available devices

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$ ios-sim showdevicetypes
$ ios-sim showdevicetypes
$ ios-sim showdevicetypes

Run on Emulator

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$ ionic emulate ios --target="iPhone-6, 10.1"
$ ionic emulate ios --target="iPhone-6, 10.1"
$ ionic emulate ios --target="iPhone-6, 10.1"

Run on Device