Android SDK:hello world不运行

时间:2012-10-07 09:34:06

标签: android launch

我安装了Java x64,Eclipse Classic Juno x64 + ADT插件。操作系统赢7 x64。我根据手册安装了一切。然后创建第一个应用程序并启动它。模拟器已经推出但是hello world app却没有。我不知道我做错了什么。有没有人知道这样的错误和我的整体问题? THX

Console log:
[2012-10-06 13:35:42 - test] ------------------------------
[2012-10-06 13:35:42 - test] Android Launch!
[2012-10-06 13:35:42 - test] adb is running normally.
[2012-10-06 13:35:42 - test] Performing com.example.test.MainActivity activity launch
[2012-10-06 13:35:42 - test] Automatic Target Mode: launching new emulator with compatible AVD 'AVD_41'
[2012-10-06 13:35:42 - test] Launching a new emulator with Virtual Device 'AVD_41'
[2012-10-06 13:35:42 - Emulator] Failed to create Context 0x3005
[2012-10-06 13:35:42 - Emulator] emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
[2012-10-06 13:35:42 - Emulator] WARNING: Data partition already in use. Changes will not persist!
[2012-10-06 13:35:42 - Emulator] WARNING: SD Card image already in use: C:\Users\Zewisa\.android\avd\AVD_41.avd/sdcard.img
[2012-10-06 13:35:42 - Emulator] WARNING: Cache partition already in use. Changes will not persist!
[2012-10-06 13:35:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-06 13:35:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-06 13:35:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-06 13:35:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-06 13:35:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-06 13:35:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-06 13:35:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-06 13:35:42 - Emulator] could not get wglGetExtensionsStringARB
[2012-10-06 13:35:42 - Emulator] emulator: warning: opening audio input failed
[2012-10-06 13:35:42 - Emulator] 

UPD:我更新了音频&视频驱动程序所有错误都已消失,但应用程序仍无法启动

UPD2:制作了一些截图

run application

emulator config

2 个答案:

答案 0 :(得分:0)

有时app会安装到模拟器上但是它的主要活动没有启动。检查模拟器上的应用以查看您的应用是否已安装。如果是,请尝试从那里启动它

答案 1 :(得分:0)

我发现错误,我已经杀死了进程adb.exe,而不是从AVD Manager启动运行的应用程序和hello world运行时启动模拟器,thx适合所有人