我已经下载了包含http://developer.android.com/sdk/index.html所有内容的ADT Bundle。当我创建Android应用程序并且我想要运行时,我会这样做。如何让它运行。
[2012-11-21 10:18:00 - Test2] ------------------------------
[2012-11-21 10:18:00 - Test2] Android Launch!
[2012-11-21 10:18:00 - Test2] adb is running normally.
[2012-11-21 10:18:01 - Test2] Performing com.example.test2.MainActivity activity launch
[2012-11-21 10:18:01 - Test2] Automatic Target Mode: launching new emulator with compatible AVD 'Test'
[2012-11-21 10:18:01 - Test2] Launching a new emulator with Virtual Device 'Test'
[2012-11-21 10:18:01 - Emulator] WARNING: Data partition already in use. Changes will not persist!
[2012-11-21 10:18:01 - Emulator] WARNING: Cache partition already in use. Changes will not persist!
[2012-11-21 10:18:01 - Emulator] Failed to allocate memory: 8
[2012-11-21 10:18:01 - Emulator]
[2012-11-21 10:18:01 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2012-11-21 10:18:01 - Emulator] Please contact the application's support team for more information.
答案 0 :(得分:0)
在运行Android应用程序时,它将加载到新的模拟器中。我们无法使用单个实例运行多个模拟器。转到>任务管理器 - > adb(在正在运行的进程中) - >给出结束任务 - >重新启动你的eclipse并运行你的模拟器。
数据分区已在使用中:此问题基于您的系统RAM大小和模拟器ram大小(在创建AVD时分配ram大小)。如果两个模拟器在相同的实例中运行, 将发生内存错误。