【发布时间】:2015-01-09 06:44:01
【问题描述】:
将我的 macbook 升级到 Yosemite 后,每次启动 android 模拟器时都会出现以下错误。我已经尝试了所有设置组合,但都报告了相同的错误。任何启动内置相机应用程序或在我自己的应用程序中使用相机的尝试都会导致崩溃。以下是模拟器启动时出现的错误。使用额外的调试标志运行模拟器并没有产生任何额外的有用信息。
emulator: ERROR: Unrecognized pixel format 'v024'
emulator: ERROR: Pixel format 'v024' reported by the camera device is unsupported
这是我的模拟器配置之一的示例:
Name: Nexus_5_API_21
CPU/ABI: Google APIs Intel Atom (x86_64)
Path: /Users/rob/.android/avd/Nexus_5_API_21.avd
Target: Google APIs (API level 21)
Skin: nexus_5
SD Card: 100M
Snapshot: no
hw.lcd.density: 480
hw.dPad: no
avd.ini.encoding: UTF-8
hw.camera.back: webcam0
disk.dataPartition.size: 200M
hw.gpu.enabled: yes
runtime.network.latency: none
skin.dynamic: no
hw.keyboard: yes
runtime.network.speed: full
hw.device.hash2: MD5:2fa0e16c8cceb7d385183284107c0c88
hw.ramSize: 1536
tag.id: google_apis
tag.display: Google APIs
hw.sdCard: yes
hw.device.manufacturer: Google
hw.mainKeys: no
hw.accelerometer: yes
hw.trackBall: no
hw.device.name: Nexus 5
hw.sensors.proximity: yes
hw.battery: yes
AvdId: Nexus_5_API_21
hw.sensors.orientation: yes
hw.audioInput: yes
hw.camera.front: none
hw.gps: yes
avd.ini.displayname: Nexus 5 API 21
snapshot.present: no
vm.heapSize: 64
runtime.scalefactor: auto
网络摄像头适用于 photobooth 或 facetime 等其他应用程序。
非常感谢我如何解决此错误的任何想法。
【问题讨论】:
-
在这里遇到同样的问题:/.
-
可能值得在b.android.com 上提交一个错误。
-
@AlbertoRico -- 很高兴听到我不是唯一一个。
-
@fadden -- 同意,不过我会先检查这里。提交错误报告:code.google.com/p/android/issues/…
标签: android android-emulator android-camera