Starting emulator for AVD 'GalaxyNexus'
Failed to allocate memory: 8
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
AndroidStudioでAVDを起動しようとすると上記のエラーが出てきて起動できないときの、私が行った対処法です。
C:\Users\<ユーザ名>\.android\avd\<avd-プロファイル名>.avd\config.ini
を開いて、最後のほうに書かれている
hw.ramSize=1024MB
に赤字のように”MB”を付け加えて保存してください。
これで私の場合はうまく起動してくれました。
参考にしたサイト
http://www.teradas.net/archives/9181/
Failed to allocate memory: 8
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
AndroidStudioでAVDを起動しようとすると上記のエラーが出てきて起動できないときの、私が行った対処法です。
C:\Users\<ユーザ名>\.android\avd\<avd-プロファイル名>.avd\config.ini
を開いて、最後のほうに書かれている
hw.ramSize=1024MB
に赤字のように”MB”を付け加えて保存してください。
これで私の場合はうまく起動してくれました。
参考にしたサイト
http://www.teradas.net/archives/9181/