How do I uninstall and re-run an app on a device using Android Studio?
You can skip the force stop and uninstall step by just hitting run
again. Android Studio should prompt you which device to run on and there you can select your connected device.
It will close the app and re-run your changed version.
You can execute the gradle task :app:uninstallAll
to uninstall the app. The next time you hit Run
your app will be reinstalled.
I think this answer is what you're looking for. Basically edit your configuration to perform an uninstall before app launch.
From the Run menu -> Edit Configurations... -> Before Launch -> Add Gradle-aware Make -> ":app:uninstallAll"