@kikotey/kikotey-startup-service-cli
v1.0.12
Published
Console service CLI manager by kikotey inc
Downloads
18
Readme
CLI SERVICE STARTER
New Usages:
- android emulator starter
- adb starter
kikotey-startup by kikotey.com - cli service starter
Terminology
Emulator - is a program or device that enables a computer system to behave like another device. An emulator essentially allows one computer system (aka “the host”) to imitate the functions of another (aka “the guest”).
NoVNC - noVNC runs well in any modern browser including mobile browsers (iOS and Android).
Android - a Linux-based mobile operating system that primarily runs on smartphones and tablets.
ADB - Android Debug Bridge ( adb ) is a versatile command-line tool that lets you communicate with a device.
Device - is a small hand-held device that has a display screen with touch input and/or a QWERTY keyboard and may provide users with telephony
Flipper - Flipper is a platform tool for debugging React Native projects on an emulator/simulator or a physical device.
Install
Install via npm or yarn
npm i -g @kikotey/kikotey-startup-service-cli
Update
Update via npm or yarn
npm update -g @kikotey/kikotey-startup-service-cli
With CLI
Step 1:
a): Run the first emulator android on port 6080
em android80
Browse the android device (novnc) http://localhost:6080
b): Run the seconde emulator android on port 6082
em android82
Browse the android2 device (novnc) http://localhost:6082
c): Verify if the process device run with :
em ps
Step 2:
a): Run ADB for paired the subnetwork with the emulator android
em adb
b): Verify if the device is paired with :
em status
Step 3:
a): Kill device on port 6080 with :
em kill80
b): Kill device on port 6082 with :
em kill82
if the target device is not paired rerun the cli command for adb
Step 4:
a): install a new APK in the android emulator device by default (emulator-5554):
em install <path to the apk>
example: em install expo/kikotey-app.apk
b): install a new APK in a specific android emulator device:
em install <path to the apk> <device name>
example: em install expo/kikotey-app.apk emulator-675423
Step 5:
a): list all packages installed in the android emulator device by default (emulator-5554):
em packages
b): list all packages installed in a specific android emulator device:
em packages <device name>
example: em packages emulator-675423
Step 6:
a): uninstall a APK in the android emulator device by default (emulator-5554):
em uninstall <path to the apk>
example: em uninstall expo/kikotey-app.apk
b): uninstall a APK in a specific android emulator device:
em uninstall <path to the apk> <device name>
example: em uninstall expo/kikotey-app.apk emulator-675423
Step 7:
a): Open a new shell and in start the debugger on port 52342 with :
em debug
b): Kill debugger:
em killdebug
Others actions:
a): Display all process port :
em processport
b): Display all process system:
em processsys
c): kill a process running on particular port:
em killprocess <port number>
example: em killprocess 8081