1

私は初心者のAndroid開発者です:)2.0バージョンから4.2まで完全にAndroidSDKをダウランドします。新しいプロジェクトを作成し、いくつかのボタンとチェックボックスを追加しました。最初のプロジェクトを実行しようとすると、次のようなエラーが発生しました。

[2012-12-25 00:09:13 - aaa]
[2012-12-25 00:09:13 - aaa] Android Launch!
[2012-12-25 00:09:13 - aaa] adb is running normally.

[2012-12-25 00:09:13 - aaa] Performing com.example.xxx.MainActivity activity launch
[2012-12-25 00:09:13 - aaa] Automatic Target Mode: launching new emulator with compatible AVD 'AVD_for_Galaxy_Nexus_by_Google'
[2012-12-25 00:09:13 - aaa] Launching a new emulator with Virtual Device 'AVD_for_Galaxy_Nexus_by_Google'
[2012-12-25 00:09:14 - Emulator] WARNING: Data partition already in use. Changes will not persist! 
[2012-12-25 00:09:14 - Emulator] WARNING: Cache partition already in use. Changes will not persist!
[2012-12-25 00:09:14 - Emulator] Failed to allocate memory: 8 
[2012-12-25 00:09:14 - Emulator]
[2012-12-25 00:09:14 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2012-12-25 00:09:14 - Emulator] Please contact the application's support team for more information.

このエラーを解決するにはどうすればよいですか?

4

2 に答える 2

0

これは、特定のエミュレータ密度設定で発生することがあります。別のエミュレーターで試して、動作するまで設定を微調整してください。

于 2012-12-24T22:58:38.233 に答える
0

同じエラーが発生しました...

解決

config.iniファイルのhw.ramSizeを 1024MB に変更します。

$User>.android>avd>name_of_avd> config.ini

それは正常に動作します

于 2013-02-19T17:12:43.227 に答える