実現したいこと
- Android Emulatorを高速化して、開発をより高速化させる。
前提
Flutter × Firebase開発でチャットアプリを開発しており、Android Emulatorでもビルド可能かテストしていたところ、Android Emulatorがあまりにも遅すぎて挙動が安定しないので、質問させていただくことにしました。何か解決方法やわかりやすいページを教えていただきたいです。
発生している問題・エラーメッセージ
Performing hot restart... ⣷ Restarted application in 3,753ms. W/DynamiteModule( 8825): Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found. I/DynamiteModule( 8825): Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerinstaller.dynamite:0 D/EGL_emulation( 8825): app_time_stats: avg=715512.31ms min=24.40ms max=2146462.75ms count=3 W/ProviderInstaller( 8825): Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0. D/TrafficStats( 8825): tagSocket(130) with statsTag=0xffffffff, statsUid=-1 D/EGL_emulation( 8825): app_time_stats: avg=42.09ms min=14.62ms max=186.55ms count=23 I/flutter ( 8825): 9 D/EGL_emulation( 8825): app_time_stats: avg=43.03ms min=6.54ms max=424.61ms count=25
Android Emulatorがかくついて、メッセージの送信が完了するまでに時間がかかるなどの状態が見られています。
試したこと
本件に関して調べたところ、いくつか調べてヒットしたページ
https://programming-cafe.com/programming/android/androidstudio/speed-up/
・このページの手順は全て実行済み。
https://learn.microsoft.com/ja-jp/xamarin/android/get-started/installation/android-emulator/hardware-acceleration?pivots=macos
・マイクロソフト公式のドキュメントで、リンク先のGithubでhaxm-macosx_v7_8_0.zipをダウンロードし展開までした状態。
https://github.com/intel/haxm/issues/403
・HAXMについて調べてヒットしたページ。
補足情報(FW/ツールのバージョンなど)
mac OS ventura バージョン13.2.1
プロセッサ 1.2 GHz クアッドコアIntel Core i7
[✓] Flutter (Channel stable, 3.7.0, on macOS 13.2.1 22D68 darwin-x64,
locale ja-JP)
[✓] Android toolchain - develop for Android devices (Android SDK version
32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.75.1)
[✓] Connected device (4 available)
[✓] HTTP Host Availability
あなたの回答
tips
プレビュー