adb shell am start -n com.yourpackage/.MainActivity -S -W
ADB is used while the phone is turned on and booted into the Android OS. android_sdk platform tools
You cannot use these tools without enabling specific settings on your phone first. adb shell am start -n com
These are the essential tools required to interface with an Android device directly. While the full SDK is several gigabytes, Platform-Tools are lightweight (usually under 15MB) and contain the most critical command-line utilities for debugging, modifying, and managing an Android device. and managing an Android device.