List available emulators
$ gadb avds
Run emulator
$ gadb avds [emulator_name]
Set waiting for debugger status, pretty handy if you want to debug your deeplink or any custom entry point in your app
$ gadb debug [package_name] [flags]
Clear waiting for debugger status
$ gadb debug --clear
Install apk to connected devices.
This command will automatically uninstall and install if
adb install
returnALREADY_EXISTS
error
$ gadb install [apk_path]
Create GADB configuration. With this configuration you can define your package name and another info so you don't have to pass it again to the comamnds.
For example, you can use gadb start
without specifying the [package name]
. It will be fetched from your configuration.
$ gadb init
Restart application
$ gadb restart [package_name]
Restart application and clear the application data
$ gadb restart [package_name] --clear
Open PlayStore page
$ gadb store [package_name]