我是 Android 应用程序开发的新手。我创建了一个带有文本视图的应用程序,上面写着Hello world!
. 我在 Nexus 7 和 Nexus S 虚拟设备上启动了该应用程序。在两台设备上,它都加载了操作系统,但找不到该应用程序。它没有启动,并且不在应用程序视图中。我在哪里可以找到它?
PS:对不起新手问题;)
编辑1:我尝试Run > Run
从工具栏中使用并选择Android Application
,我得到了这个:
[2013-06-09 15:20:23 - SDK Manager] Warning: Ignoring build-tool '.DS_Store', not a folder.
[2013-06-09 15:27:45 - SDK Manager] Warning: Ignoring build-tool '.DS_Store', not a folder.
[2013-06-09 15:31:48 - SDK Manager] Warning: Ignoring build-tool '.DS_Store', not a folder.
[2013-06-09 15:34:55 - HelloWorld] ------------------------------
[2013-06-09 15:34:55 - HelloWorld] Android Launch!
[2013-06-09 15:34:55 - HelloWorld] adb is running normally.
[2013-06-09 15:34:55 - HelloWorld] Performing me.pogostick29.helloworld.MainActivity activity launch
[2013-06-09 15:34:56 - HelloWorld] Automatic Target Mode: launching new emulator with compatible AVD 'Nexus7'
[2013-06-09 15:34:56 - HelloWorld] Launching a new emulator with Virtual Device 'Nexus7'
[2013-06-09 15:35:04 - Emulator] 2013-06-09 15:35:04.712 emulator64-arm[570:f07] Error loading /Library/ScriptingAdditions/XBurn.osax/Contents/MacOS/XBurn: dlopen(/Library/ScriptingAdditions/XBurn.osax/Contents/MacOS/XBurn, 262): no suitable image found. Did find:
[2013-06-09 15:35:04 - HelloWorld] New emulator found: emulator-5554
[2013-06-09 15:35:04 - Emulator] /Library/ScriptingAdditions/XBurn.osax/Contents/MacOS/XBurn: mach-o, but wrong architecture
[2013-06-09 15:35:04 - Emulator] emulator64-arm: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/XBurn.osax" declares no loadable handlers.
[2013-06-09 15:35:04 - HelloWorld] Waiting for HOME ('android.process.acore') to be launched...
[2013-06-09 15:35:04 - Emulator] 2013-06-09 15:35:04.738 emulator64-arm[570:f07] Loading Maximizer into bundle: (null)
[2013-06-09 15:35:58 - HelloWorld] HOME is up on device 'emulator-5554'
[2013-06-09 15:35:58 - HelloWorld] Uploading HelloWorld.apk onto device 'emulator-5554'
[2013-06-09 15:35:58 - HelloWorld] Installing HelloWorld.apk...
[2013-06-09 15:37:16 - HelloWorld] Success!
[2013-06-09 15:37:16 - HelloWorld] Failed to install HelloWorld.apk on device 'emulator-5554': device not found
[2013-06-09 15:37:16 - HelloWorld] com.android.ddmlib.InstallException: device not found
[2013-06-09 15:37:16 - HelloWorld] Launch canceled!
也许我太早停止了模拟器?