Я новичок в разработке приложений для Android. Я создал приложение с текстовым представлением, которое говорит Hello world!
. Я запустил приложение на виртуальном устройстве Nexus 7 и Nexus S. На обоих устройствах он загрузил ОС, но приложение не было там, где его можно было найти. Он не запускался, и это не было в представлении приложений. Где я могу найти его?Android Virtual Device Not Running App
PS: Извините за новичка вопрос;)
EDIT 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!
Может быть, я остановил эмулятор слишком рано ?
проверьте параметры перед вводом AVD. см здесь- http://stackoverflow.com/questions/9427863/need-help-correctly-emulating-the-samsung-galaxy-nexus-with-avd – sarthakmeh
Попробуйте загрузить полный андроид Eclipse SDK, от 'HTTP : // developer.android.com/sdk/index.html' –
@sarthakmeh Я использую предварительно настроенную конфигурацию: http://icap.me/i/zjIi0k86zn.png – nrubin29