Device chooser dialog is not showing up after instant run

后端 未结 6 887
盖世英雄少女心
盖世英雄少女心 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 12:16

    Instant Run has nothing to do with emulator or devices, it will perform its action on whosoever you have selected.

    Just restart your android studio and connect your device and launch app ; Dialog will appear.
    When chooser dialog appears showing connected devices and emulators don't check "Use same device for future launches" to get this dialog every time you launch your app.

    Also, if you want to run on all devices hold on SHIFT and click each and run.

提交回复
热议问题