Device chooser dialog is not showing up after instant run

后端 未结 6 889
盖世英雄少女心
盖世英雄少女心 2020-12-20 11:49

In Android studio 2.0 after first app launch on emulator it seems that run process is attached to it. But if I connect device and want to test app,

6条回答
  •  情歌与酒
    2020-12-20 11:59

    February 2018 answer: Try to disable Instant run from the Settings, it worked for me on Android-studio v.3.0.1

    1. Open the Settings or Preferences dialog: On Windows or Linux, select File > Settings from the menu bar. (On Mac OSX, select Android Studio > Preferences from the menu bar.)
    2. Navigate to Build, Execution, Deployment > Instant Run.
    3. Uncheck the box next to Restart activity on code changes.

提交回复
热议问题