我正在使用 android studio 3.0.1。我之前在同一个 android studio 中使用过模拟器并且它很完美,但现在模拟器在运行期间会自行重启。我重置了 adb,应用了即时运行,删除了所有模拟器,还从 sdk 管理器重新安装了模拟器,但没有用。 模拟器仅在应用程序崩溃时重新启动。
最佳答案
我遇到了同样的问题,修复对我有用:
第一步:
Open Avd Manager
(or by pressing the Adv Manager icon in Android Studio Toolbar, or
on Windows -> control + shift + a and in search box enter Adv Manager)*
第 2 步:
if your emulator is running stop it.
found your emulator in the Avd Manager, in the end of the list(right side)
there is a drop down arrow, press it and select "wipe data"
第 3 步:
start emulator from the Adv Manager, by pressing the play button (right side of drop down arrow in step 2 ).
Wait till the emulator launches. When the emulator is up you can build your app.
关于android - 每次在android studio中运行程序时,模拟器都会自动重启,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49476820/