0

我使用 Eclipse 创建了一个 Android 项目。它由一个简单地打印 hello world 的活动组成。

我创建了两个 AVD 来测试它,一个使用 api 版本 2.3.3,另一个使用 4.1。如果我在 2.3.3 上运行它,该应用程序可以工作。然而,在 4.1 上,它没有。这是我尝试在 4.1 上运行控制台时的日志:

[2012-10-03 01:54:07 - firstApp] Android Launch!
[2012-10-03 01:54:07 - firstApp] adb is running normally.
[2012-10-03 01:54:07 - firstApp] Performing com.example.firstapp.MainActivity activity launch
[2012-10-03 01:54:13 - firstApp] Launching a new emulator with Virtual Device 'NewAPI'
[2012-10-03 01:54:51 - Emulator] Failed to create Context 0x3005
[2012-10-03 01:54:51 - Emulator] emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
[2012-10-03 01:54:53 - Emulator] emulator: emulator window was out of view and was recentered
[2012-10-03 01:54:53 - Emulator] 
[2012-10-03 01:54:53 - firstApp] New emulator found: emulator-5554
[2012-10-03 01:54:53 - firstApp] Waiting for HOME ('android.process.acore') to be launched...
[2012-10-03 01:58:16 - firstApp] HOME is up on device 'emulator-5554'
[2012-10-03 01:58:16 - firstApp] Uploading firstApp.apk onto device 'emulator-5554'
[2012-10-03 01:58:17 - firstApp] Installing firstApp.apk...
[2012-10-03 02:00:26 - firstApp] Failed to install firstApp.apk on device 'emulator-5554!
[2012-10-03 02:00:26 - firstApp] (null)

有什么想法有什么问题吗?

4

0 回答 0