Use same android emulator every time

对着背影说爱祢 提交于 2019-12-04 23:57:07

问题


I have started a new emulator from 'launch new emulator' . But when I run another project later another emulator is getting loaded . Actually I wanted to use the same emulator itself.I there any option to reuse the same emulator and prevent new emulator being launched automatically.


回答1:


Instead of Run use Run>Run Configurations>Target>Manual and manually select the AVD that is already launched.




回答2:


I often have this problem when i both have the physical device( a real phone) plugged in the pc and an emulator. You can put the devices list near the console and logcat views, so you can select here the right device to use (install the app and show the logcat).

Go in window -> show view -> other -> devices.

From there you can select which device to use (if nothing is selected, a new emulator is run following the target option you set following Mangusto's answer)




回答3:


You can select the emulator that you wish to make default from windows->android sdk manager-> edit the virtual device from that you can select skin you want. or set the dimension. I think this can help you




回答4:


Go to Run > Edit Configurations, choose your run configuration on the left side, check Use same device for future launches checkbox.



来源:https://stackoverflow.com/questions/8136268/use-same-android-emulator-every-time

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!