Android studio【启动模拟器闪退原因】

Android studio【启动模拟器闪退原因】,第1张

一、故障现象

笔者最近调试android studio 的时候,想启动模拟器来看看代码现象。
但是
模拟器老是闪退,下载到手机上又好使,其他型号模拟器好使,唯独单一的模拟器不好使。
笔者已经查询了笔者的HAEM(Hardware_Accelerated_Execution_Manager)已经安装好,
模拟器图象采用自动已调好。

不好使的AVD(android studio virtual device)的情况如下:

Name: Pixel_3a_API_30
CPU/ABI: Google Play Intel Atom (x86)
Path: C:\Users\13289\.android\avd\Pixel_3a_API_30.avd
Target: google_apis_playstore [Google Play] (API level 30)
Skin: 1080x2220
SD Card: 512 MB
fastboot.chosenSnapshotFile: 
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name: pixel_3a
hw.lcd.width: 1080
hw.initialOrientation: Portrait
image.androidVersion.api: 30
tag.id: google_apis_playstore
hw.mainKeys: no
hw.camera.front: emulated
avd.ini.displayname: Pixel 3a API 30
hw.gpu.mode: auto
hw.ramSize: 1536
PlayStore.enabled: true
fastboot.forceColdBoot: yes
hw.cpu.ncore: 4
hw.keyboard: yes
hw.sensors.proximity: yes
hw.dPad: no
hw.lcd.height: 2220
vm.heapSize: 256
skin.dynamic: yes
hw.device.manufacturer: Google
hw.gps: yes
skin.path.backup: _no_skin
hw.audioInput: yes
image.sysdir.1: system-images\android-30\google_apis_playstore\x86\
showDeviceFrame: no
hw.camera.back: virtualscene
AvdId: Pixel_3a_API_30
hw.lcd.density: 440
hw.arc: false
hw.device.hash2: MD5:0e6953ebf01bdc6b33a2f54746629c50
fastboot.forceChosenSnapshotBoot: no
fastboot.forceFastBoot: no
hw.trackBall: no
hw.battery: yes
hw.sdCard: yes
tag.display: Google Play
runtime.network.latency: none
disk.dataPartition.size: 6G
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes
二、笔者的解决方法及原因

(1)打开AVDmanager 编辑emulator(模拟器)。


(2)打开andvanced option(高级选项)

(3)开机模式选择cold option

(5)故障分析
笔者最近两天电脑总是强制关机可能导致As(android studio)的配置出现故障。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/992451.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-21
下一篇 2022-05-21

发表评论

登录后才能评论

评论列表(0条)

保存