How do I uninstall and re-run an app on a device using Android Studio?

前端 未结 4 1091
别跟我提以往
别跟我提以往 2020-12-14 09:54

I am new to Android Studio and I feel that I must be doing something wrong. When running MyApp on an actual device the process goes like this.

  • Edit code.
4条回答
  •  一向
    一向 (楼主)
    2020-12-14 10:41

    You can execute the gradle task :app:uninstallAll to uninstall the app. The next time you hit Run your app will be reinstalled.

提交回复
热议问题