Hello everyone I can't seem to figure out why my emulator isn't working and I don't get the error in the console
Here is what it says in the console
[2011-08-24 16:28:59 - MePlayer] Android Launch!
[2011-08-24 16:28:59 - MePlayer] adb is running normally.
[2011-08-24 16:28:59 - MePlayer] Performing com.meplayer.afajje.MePlayer activity launch
[2011-08-24 16:28:59 - MePlayer] Automatic Target Mode: Preferred AVD 'Droid' is not available. Launching new emulator.
[2011-08-24 16:28:59 - MePlayer] Launching a new emulator with Virtual Device 'Droid'
[2011-08-24 16:29:01 - Emulator] invalid command-line parameter: Files.
[2011-08-24 16:29:01 - Emulator] Hint: use '#foo' to launch a virtual device named 'foo'.
[2011-08-24 16:29:01 - Emulator] please use -help for more information
This error occurs on Version 12/13. You SDK path contains spaces. Move it to space-less path or if it is in Program Files change the path in Window->Preferences select Android
C:\PROGRA~1\Android\android-sdk
Related
I installed jdk 1.7.0, eclipse and the android plugin. I create a new android project but when I try to launch I get this message:
[2011-08-09 18:24:15 - myTEst] ------------------------------
[2011-08-09 18:24:15 - myTEst] Android Launch!
[2011-08-09 18:24:15 - myTEst] adb is running normally.
[2011-08-09 18:24:15 - myTEst] Performing crr.myTest.MyTEstActivity activity launch
[2011-08-09 18:24:15 - myTEst] Automatic Target Mode: launching new emulator with compatible AVD 'myDev22'
[2011-08-09 18:24:15 - myTEst] Launching a new emulator with Virtual Device 'myDev22'
[2011-08-09 18:24:15 - Emulator] invalid command-line parameter: Files.
[2011-08-09 18:24:15 - Emulator] Hint: use '#foo' to launch a virtual device named 'foo'.
[2011-08-09 18:24:15 - Emulator] please use -help for more information
I get the same message if I try to launch the emulator from the sdk manager. What does that mean? Thanks, Andrea.
when I configured my Eclipse with ADT and SDK, I created a new android project, and then I right click the project name and select the Run As -> Android Application, but I got the error message in the console like this:
[2011-07-25 19:11:01 - Android] ------------------------------
[2011-07-25 19:11:01 - Android] Android Launch!
[2011-07-25 19:11:01 - Android] adb is running normally.
[2011-07-25 19:11:01 - Android] Performing com.android.Activity01 activity launch
[2011-07-25 19:11:01 - Android] Automatic Target Mode: launching new emulator with compatible AVD '2.1'
[2011-07-25 19:11:01 - Android] Launching a new emulator with Virtual Device '2.1'
[2011-07-25 19:11:01 - Emulator] invalid command-line parameter: by.
[2011-07-25 19:11:01 - Emulator] Hint: use '#foo' to launch a virtual device named 'foo'.
[2011-07-25 19:11:01 - Emulator] please use -help for more information
so, how can I fix this problem?
I had the same problem. I have Win 7 64b
I do 3 things.
Uninstall Android SDK from c://Program Files (x86)\ bla bla lba
Install Android SDK to c://Android/Sdk/blablaba
Reset the Eclipse path to SDK in Windows/Preference -> Andriod ->
Browse Folder for SDK...
All things start to work. I guess that critical for SDK is to be installed in the folder with spaces in the Folder name.
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]
I have this error when i lunch the android emulator? why ?
[2011-04-20 19:39:23 - Yamba] Android Launch!
[2011-04-20 19:39:23 - Yamba] adb is running normally.
[2011-04-20 19:39:23 - Yamba] Performing course.class1.YambaActivity activity launch
[2011-04-20 19:39:23 - Yamba] Automatic Target Mode: Preferred AVD 'adham2' is not available. Launching new emulator.
[2011-04-20 19:39:23 - Yamba] Launching a new emulator with Virtual Device 'adham2'
[2011-04-20 19:39:23 - Emulator] unknown option: -http-proxy="http://192.168.2.1"
[2011-04-20 19:39:23 - Emulator] please use -help for a list of valid options
Don't put a = with the options
-http-proxy "http://192.168.2.1"
I'm trying to build "Hello, Android" with the Android SDK, but Android won't say "hello" to me.
I build with the 2.6 version of the SDK and run in Eclipse on Win XP. (I've installed the plug-in.)
Here's what I get:
[2009-09-23 16:35:19 -
HelloAndroid]Android Launch!
[2009-09-23 16:35:19 -
HelloAndroid]adb is running normally.
[2009-09-23 16:35:19 -
HelloAndroid]Performing
com.example.helloandroid.HelloAndroid
activity launch
[2009-09-23 16:35:19 -
HelloAndroid]Automatic Target Mode:
launching new emulator with compatible
AVD 'my_avd'
[2009-09-23 16:35:19 -
HelloAndroid]Launching a new emulator
with Virtual Device 'my_avd'
[2009-09-23 16:35:21 -
HelloAndroid]New emulator found:
emulator-5554
[2009-09-23 16:35:21 -
HelloAndroid]Waiting for HOME
('android.process.acore') to be
launched...
[2009-09-23 16:36:20 -
HelloAndroid]HOME is up on device
'emulator-5554'
[2009-09-23 16:36:20 -
HelloAndroid]Uploading
HelloAndroid.apk onto device
'emulator-5554'
[2009-09-23 16:36:30 -
HelloAndroid]Installing
HelloAndroid.apk...
[2009-09-23 16:36:43 -
HelloAndroid]Success!
[2009-09-23 16:36:44 -
HelloAndroid]Starting activity
com.example.helloandroid.HelloAndroid
on device
[2009-09-23 16:36:44 -
HelloAndroid]Launch error:
device (emulator-5554) request
rejected: device not found
I got this to work. It may be a timing issue. Have to press Menu button on emulator keypad to unlock the screen. Then the output is displayed.