在android studio中运行程序时,模拟器每次都会自动重启

时间:2018-03-25 14:16:57

标签: android android-studio

我正在使用android studio 3.0.1。我之前在同一个android工作室中使用过模拟器,它完美,但现在模拟器在运行期间重新启动。我重置了adb,应用了即时运行,删除了所有模拟器和&还从sdk管理器重新安装了模拟器,但没有用。 模拟器仅在应用程序崩溃时重新启动。

1 个答案:

答案 0 :(得分:0)

我遇到了同样的问题,修复对我有用:

第1步:

 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.