Android Hello World App适用于2.3.3,但不适用于4.1

时间:2012-10-02 21:04:36

标签: java android mobile

我使用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)

任何想法有什么不对?

0 个答案:

没有答案