LoginSignup
0
1

More than 5 years have passed since last update.

[めも]Issue 223100: Emulator(AVD)がCrashする問題 (Android SDK Tools: ~25.2.2) [Android 開発環境]

Last updated at Posted at 2017-03-15

概要

Androidの開発環境をアップデートする時用のメモです。
(アップデート時の障害回避用に検索したので、実際の現象は確認していません。)

検索キーワード:「Android sdk bug 25.2」

現象:Emulator(AVD)がクラッシュする。

影響を受けるバージョン:Android SDK Tools: ~25.2.2

※25.3.xは、別の問題が起きている模様。

影響を受けないと思われるバージョン:

Android SDK Tools: 25.2.3 (?)
※25.2.3で再現しないという報告があった。
ただし、リリースノートでは、25.2.4、25.2.5にもエミュレータのバグフィックスが入っている。
また、25.3.0で、エミュレータ関連の大きな変更があったので、かなり注意した方が良さそうです。(「Android sdk bug 25.3」で検索すると、色々あるようなので。)

参考資料

Android Studio 2.3 関連は、別ページで。

[めも]Android Studio 2.3 関連のIssue[Android 開発環境]

資料1 SDK Tools Release Notes

SDK Tools, Revision 25.3.0 (March 2017)
Changes:
Android Emulator is removed from this package and moved to a different SDK directory. See the new Android Emulator Release Notes. This change is backward compatible with older Android Studio versions.

資料2 Emulator Release Notes

Revision 25.3.0 (March 2017)
Minor revision 25.3.1 (March 2017)

Fixed a crash occurring on some GPU configurations by disabling GLAsyncSwap by default. This feature was added in 25.3.0 to improve frame timing and frames per second for games and video, but causes the emulator to fail on some unknown machine configurations. You can manually enable it by opening the android_sdk/emulator/lib/advancedFeatures.ini file and setting GLAsyncSwap = on.

資料3 Stackoverflow - Emulator on Android Studio doesn't start after SDK tools update to 25.3.1

Q:

After updating my Android SDK tools today to 25.3.1, the emulator won't run anymore.

A:

・・・Finally as a workaround, I just copied all of the system files from the SDK system images directory into the AVD directory:
・・・After that the emulator started right up. It's not ideal, but this was blocking my development so I had to get the emulator up and running again. I hope someone else will be able to figure out what broke in the configuration.

資料4 Issue 223100: Emulator Crashes on Start using version 25.2.2

Emulator Version: 25.2.2.0
Android SDK Tools: 25.2.2

Steps to Reproduce Bug:
1. Create new avd
2. Start emulator with: tools\emulator @test
3. Observe that qemu has crashed.

Observed Behavior:
Qemu crashes on start with the below output. This behavior is a regression from 24.4.1 as the emulator reproducibly crashes with 25.2.2 and works great with SDK Tools 24.4.1.

#12
The bug is not repros. with Emulator Version: 25.2.3-3339993 and Android SDK Tools: 25.2.3. Below is the studio config:

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1