Target Android 2.1 - android

I want to execute a HelloWorld project with Android using eclipse Juno, but when I run the project I always obtain this result:
[2014-10-28 18:37:07 - HelloWorld] ------------------------------
[2014-10-28 18:37:07 - HelloWorld] Android Launch!
[2014-10-28 18:37:07 - HelloWorld] adb is running normally.
[2014-10-28 18:37:07 - HelloWorld] Performing com.javacodegeeks.android.helloword.MainActivity activity launch
[2014-10-28 18:37:08 - HelloWorld] Failed to find an AVD compatible with target 'Android 2.1'.
[2014-10-28 18:37:13 - HelloWorld] Still no compatible AVDs with target 'Android 2.1': Aborting launch.
[2014-10-28 18:37:13 - HelloWorld] Performing com.javacodegeeks.android.helloword.MainActivity activity launch
[2014-10-28 18:37:16 - HelloWorld] Launch canceled!$

it was a problem with the project, it asks at minimum an emulator with API 15 at least whiel i was using Android 2.1 API7

Related

Failed to install HelloWorld.apk on device

[2015-04-27 22:12:51 - HelloWorld] ------------------------------
[2015-04-27 22:12:51 - HelloWorld] Android Launch!
[2015-04-27 22:12:51 - HelloWorld] adb is running normally.
[2015-04-27 22:12:51 - HelloWorld] Performing com.example.helloworld.MainActivity activity launch
[2015-04-27 22:12:51 - HelloWorld] Automatic Target Mode: launching new emulator with compatible AVD 'Android1'
[2015-04-27 22:12:51 - HelloWorld] Launching a new emulator with Virtual Device 'Android1'
[2015-04-27 22:14:14 - HelloWorld] New emulator found: emulator-5554
[2015-04-27 22:14:14 - HelloWorld] Waiting for HOME ('android.process.acore') to be launched...
[2015-04-27 22:17:28 - HelloWorld] HOME is up on device 'emulator-5554'
[2015-04-27 22:17:28 - HelloWorld] Uploading HelloWorld.apk onto device 'emulator-5554'
[2015-04-27 22:17:35 - HelloWorld] Installing HelloWorld.apk...
[2015-04-27 22:20:05 - HelloWorld] Failed to install HelloWorld.apk on device 'emulator-5554!
[2015-04-27 22:20:05 - HelloWorld] (null)
[2015-04-27 22:20:06 - HelloWorld] Launch canceled!
I am getting this error message. Changed DDMS time, checked manifest file for target SDK version, uninstalled and installed ADT plugin, deleted and created AVD, but I did not disable USB debugging. How to do that? Also any other thing I need to do?
USB debugging can be turned off and on in the Developer Settings on your device. You must have developer options turned on to use this. In case you don't, go into About Phone and tap on the Kernel Version 6 times (or until it says you are now a developer).

Failed to install HelloWorld.apk on device 'emulator-5554! error

I am trying to write HelloWorld program in android. But getting error:
[2014-09-18 21:23:57 - HelloWorld] ------------------------------
[2014-09-18 21:23:57 - HelloWorld] Android Launch!
[2014-09-18 21:23:57 - HelloWorld] adb is running normally.
[2014-09-18 21:23:57 - HelloWorld] Performing com.android.helloworld.MainActivity activity launch
[2014-09-18 21:23:57 - HelloWorld] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
[2014-09-18 21:24:08 - HelloWorld] Uploading HelloWorld.apk onto device 'emulator-5554'
[2014-09-18 21:24:11 - HelloWorld] Installing HelloWorld.apk...
[2014-09-18 21:26:32 - HelloWorld] Failed to install HelloWorld.apk on device 'emulator-5554!
[2014-09-18 21:26:32 - HelloWorld] (null)
[2014-09-18 21:26:33 - HelloWorld] Launch canceled!
[2014-09-18 21:23:57 - HelloWorld] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
Check which version of android your application is being compiled and select the correct version. :)
Managing AVDs with AVD Manager

Android emulator is not starting for hello word

I'm just starting to learn android programming.
I downloaded the ADT and went through the manual for the hello world! project.
But when I want to run my project I see this in console:
[2013-01-12 19:34:20 - HelloWorld] ------------------------------
[2013-01-12 19:34:20 - HelloWorld] Android Launch!
[2013-01-12 19:34:20 - HelloWorld] adb is running normally.
[2013-01-12 19:34:20 - HelloWorld] Performing com.example.helloworld.MainActivity activity launch
[2013-01-12 19:34:20 - HelloWorld] Automatic Target Mode: Preferred AVD 'Nexus7' is not available. Launching new emulator.
[2013-01-12 19:34:20 - HelloWorld] Launching a new emulator with Virtual Device 'Nexus7'
[2013-01-12 19:34:20 - Emulator] emulator: ERROR: No initial system image for this configuration!
I'm using MAC OSX
Tell me if more information is needed!
Thanks!
Among the SDKs installed, your PC seems to be missing the system image required for the AVD to start.
Go to the SDK manager and check if the components have been downloaded properly or not.
For further details, check here.

Android AVD on Eclipse4.03 api15 shows 'Blank Screen' with no activity

I tried to run "hello world" program in android 4.03, but my avd emulator starts but gets stuck in a blank screen and doesn't show output
I got this warning also:
Missing density variation folders in res: drawable-xhdpi
Please help me.
[2012-01-21 12:35:40 - helloworld] ------------------------------
[2012-01-21 12:35:40 - helloworld] Android Launch!
[2012-01-21 12:35:40 - helloworld] adb is running normally.
[2012-01-21 12:35:40 - helloworld] Performing com.man.Helloworld.HelloworldActivity activity launch
[2012-01-21 12:35:40 - helloworld] Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
[2012-01-21 12:35:40 - helloworld] Launching a new emulator with Virtual Device 'my_avd'
[2012-01-21 12:35:46 - Emulator] emulator: WARNING: Unable to create sensors port: Unknown error
[2012-01-21 12:35:46 - helloworld] New emulator found: emulator-5554
[2012-01-21 12:35:46 - helloworld] Waiting for HOME ('android.process.acore') to be launched...
The warning can be taken care of by creating a drawable resource folder for xhdpi like you have for ldpi, mdpi, and hdpi.
How long did you wait for the emulator to launch? It is incredibly slow.

Emulator Load error - Android

I am new to android. I am trying to develop android helloworld application as given in all tutorials.
Using Configuration: Android 3.1 for configuration.
When i try to run in eclipse i get error:
[2011-07-10 13:39:19 - HelloWorld] -----------------------------
[2011-07-10 13:39:19 - HelloWorld] Android Launch!
[2011-07-10 13:39:19 - HelloWorld] adb is running normally.
[2011-07-10 13:39:19 - HelloWorld] Performing com.hello.HelloWorldActivity activity launch
[2011-07-10 13:39:19 - HelloWorld] Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
[2011-07-10 13:39:19 - HelloWorld] Launching a new emulator with Virtual Device 'my_avd'
[2011-07-10 13:39:19 - Emulator] invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe.
[2011-07-10 13:39:19 - Emulator] Hint: use '#foo' to launch a virtual device named 'foo'.
[2011-07-10 13:39:19 - Emulator] please use -help for more information
This is a bug that was introduced with SDK tools r12. You can do either of two things:
Install your SDK into your C:\ root directory instead of C:\Program Files
In Eclipse, go to Window -> Preferences -> Android. If you placed your SDK in C:\Program Files, change that to C:\PROGRA~1. If you placed it in C:\Program Files (x86), change it to C:\PROGRA~2. Eclipse is going to complain, so in your command line terminal, run adb kill-server and then adb start-server. If you haven't set up your PATH variable yet, then, in the command prompt, navigate to (path to sdk)\android-sdk-windows\platform-tools, and run those two commands from there.
Your android sdk might not be configured correctly.
Did you try to run the emulator from command line?
[http://www.ceveni.com/2009/12/run-android-emulator-from-command-line.html][1]

Categories

Resources