Uninstall
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Remove an app from the device. These call app_uninstall.
Uninstall
func (d *Device) Uninstall(ctx context.Context, app string) error
Uninstall removes an app, verified by listing afterwards. adb uninstall
reports success when it has only removed the updates to a system app, so
this returns an error rather than a lie.
Examples
Remove an app
if err := dev.Uninstall(ctx, "com.example.shop"); err != nil {
return err
}