关于Android Studio关闭模拟器死机解决方案的尝试

背景介绍

本人是Android Studio新手,在从版本3.3.1 (February 2019)升级到3.3.2 (March 2019)(考虑到版本问题)时运行模拟器后模拟器关机时出现笔记本电脑(12GRAM+Geforce950m)死机的情况。

尝试

一、切换到独显转自https://blog.csdn.net/hx7013/article/details/77184594

二、android studio的系统设置问题

解决步骤:

(1)File->SettingAppearance&Behavior -> System Settings -> Updates
(2)去掉Automatically check update for的选项,另一个也不要打勾
(3)去掉用不到的Plugins里面有插件,,如Git Integration、GitHub和Google Cloud以及SDK Updater
(4)点击应用、OK

三、我的解决方案(有关Cold boot/Quick boot功能)

在新建模拟器时选择Quick boot。
原模拟器配置(Quick boot)

Name: Nexus_S_API_22

CPU/ABI: Google APIs Intel Atom (x86)

Target: google_apis [Google APIs] (API level 22)

SD Card: 512M

hw.device.name: Nexus S

image.androidVersion.api: 22

hw.camera.front: emulated

avd.ini.displayname: Nexus S API 22

新模拟器配置(Cold boot)

Name: Pixel_2_XL_API_28

CPU/ABI: Google APIs Intel Atom (x86)

Target: google_apis [Google APIs] (API level 28)

Skin: pixel_2_xl

SD Card: 512M

hw.device.name: pixel_2_xl

hw.lcd.width: 1440

image.androidVersion.api: 28

avd.ini.displayname: Pixel 2 XL API 28

hw.ramSize: 1536

hw.cpu.ncore: 2

AvdId: Pixel_2_XL_API_28

disk.dataPartition.size: 800M

虽然新配置运行时卡顿,暂且归结于电脑配置问题,但关闭模拟器正常。

后记

本篇文章仅提供参考。

参考

【1】https://blog.csdn.net/hx7013/article/details/77184594
【2】https://blog.csdn.net/u014043113/article/details/78354302
【3】https://blog.csdn.net/gdouwenbiwei/article/details/49251979android

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值