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

标签 android android-studio

我正在使用 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/

相关文章:

Android SENSOR_DELAY_FASTEST 不够快

android - 无法在 Android Studio 中解析符号 HttpGet、HttpClient、HttpResponce

android - 在我的 Android Studio 中,我没有看到插件 block 代码生成器

android - 当使用中没有 gradle 编译时,如何在我的项目中使用此 ArcMenu 库?

android - 从 AudioRecord 计算耗时

android - 亚行 |搜索引擎优化 | cut 没有显示结果...但是 cat |搜索引擎优化 |切没问题

android - 如何制作弯曲的圆形 ScrollView

android - Android Studio 0.6.0中的默认sourceSet

java - SQLite 中不区分大小写的 GROUP BY 查询

android - 如何在辅助功能服务中的可 ScrollView 上方添加矩形?