Cake Aliases for Android's adb command line tool
#addin nuget:?package=Cake.Android.Adb&version=3.2.0
dotnet add package Cake.Android.Adb --version 3.2.0
<PackageReference Include="Cake.Android.Adb" Version="3.2.0" />
Aliases
Cake build aliases for Android ADB commands
General
AdbBugReport |
Dumps out a bug report. |
AdbConnect |
Connects to a device or emulator by IP address. |
AdbDevices |
Gets a list of all attached emulator/device instances. |
AdbDisconnect |
Disconnects from a device or emulator. |
AdbEmuKill |
Kills an emulator by serial |
AdbGetAvdName |
Connects to an emulator and queries its avd name |
AdbGetSerialNumber |
Gets the target's serial. |
AdbGetState |
Gets the target's state. |
AdbInstall |
Installs an Android .APK file. |
AdbKillServer |
Terminates the adb server process. |
AdbLogcat |
Dumps out Logcat output. |
AdbPull |
Pulls a directory from the target to a local destination. |
AdbPull |
Pulls a file from the target to a local destination. |
AdbPull |
Pulls a file from the target to a local destination. |
AdbPush |
Pushes a local directory to the remote destination on the target. |
AdbPush |
Pushes a local file to the remote destination on the target. |
AdbPush |
Pushes a local file to the remote destination on the target. |
AdbRun |
Runs adb with an arbitrary list of arguments |
AdbScreenCapture |
Captures a screenshot from the target. |
AdbScreenRecord |
Records the screen of the target. |
AdbShell |
Executes a shell command on the target. |
AdbStartServer |
Checks whether the adb server process is running and starts it, if not. |
AdbUninstall |
Uninstalls an application from the target. |
AdbVersion |
Gets the adb version number. |
AdbWaitFor |
Waits for a given transport and state |
Adb |
Waits for an emulator to boot (dev.bootcomplete=1) |
AmBroadcast |
Broadcasts an Intent on the target. |
AmClearDebugApp |
Clears the set debug app on the target. |
AmDisplayDensity |
Override the target's display density. This command is helpful for testing your app across different screen densities on high-density screen environment using a low density screen, and vice versa. |
AmDisplaySize |
Override the target's display size. This command is helpful for testing your app across different screen sizes by mimicking a small screen resolution using a device with a large screen, and vice versa. |
AmDumpHeap |
Dumps the heap from a process on the target. |
AmForceStop |
Force stops an application on the target. |
AmInstrument |
Ams the instrument. |
AmIntentToIntentURI |
Convert the given intent specification to an Intent URI. |
AmIntentToURI |
Convert the given intent specification to a URI. |
AmKill |
Kills a service on the target. |
AmKillAll |
Kills all services on the target. |
AmMonitor |
Starts monitoring for crashes or ANRs on the target. |
AmResetDisplaySize |
Resets the target's display size. |
AmScreenCompat |
Turn screen compatibility mode on/off for the given package on the target. |
AmSetDebugApp |
Set the debug app on the target. |
AmStartActivity |
Starts an Activity on the target. |
AmStartProfiling |
Starts profiling on the target. |
AmStartService |
Starts a Service on the target. |
AmStopProfiling |
Stops profiling on the target. |
PmClear |
Clears all data associated with the package. |
PmCreateUser |
Creates a new user on the target. |
PmDisable |
Disables the given package or component |
PmDisableUser |
Disables a user for the given package or component. |
PmEnable |
Enables the given package or component |
PmGetInstallLocation |
Gets the current default install location for the target. |
PmGetMaxUsers |
Gets the max # of users the target supports. |
PmGrant |
Grants a permission to a package. |
PmInstall |
Installs an APK file from the given path on the target. |
PmListFeatures |
Gets a list of features implemented on the target. |
PmListLibraries |
Gets a list of libraries that exist on the target. |
PmListPackages |
Gets a list of packages from the target. |
Pm |
Gets a list of Permission Groups on the target. |
PmListPermissions |
Gets a list of Permissions, grouped by Permission Group on the target |
PmPathToPackage |
Gets the path for a given package name. |
PmRemoveUser |
Removes a user from a target. |
PmRevoke |
Revokes a permission from a package. |
PmSetInstallLocation |
Sets the default install location for the target. Note: This is only intended for debugging; using this can cause applications to break and other undesireable behavior. |
Pm |
Sets whether or not a permission is enforced on the target. |
PmTrimCaches |
Tries to free up space on the target by deleting caches. |
PmUninstall |
Uninstalls a package from the target |