Error when launching emulator in Android? - android

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"

Related

OpenGL does not work in VMware?

I am new to Android, and am just starting to work through the examples in "Learn Android App Development". When I try to "run as Android application", I get the following errors...
[2013-10-12 19:39:18 - Hello_World] ------------------------------
[2013-10-12 19:39:18 - Hello_World] Android Launch!
[2013-10-12 19:39:18 - Hello_World] adb is running normally.
[2013-10-12 19:39:18 - Hello_World] Performing chapter.two.hello_world.MainActivity activity launch
[2013-10-12 19:39:19 - Hello_World] Automatic Target Mode: launching new emulator with compatible AVD 'Android_4.2_Emulator_Nexus_7'
[2013-10-12 19:39:19 - Hello_World] Launching a new emulator with Virtual Device 'Android_4.2_Emulator_Nexus_7'
[2013-10-12 19:39:27 - Emulator] extension WGL_ARB_make_current_read was not found
[2013-10-12 19:39:27 - Emulator] extension WGL_EXT_swap_control was not found
[2013-10-12 19:39:27 - Emulator] Failed to create pbuf surface for FB 0x3004
[2013-10-12 19:39:27 - Emulator] emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
[2013-10-12 19:39:29 - Emulator] emulator: warning: opening audio output failed
[2013-10-12 19:39:29 - Emulator]
[2013-10-12 19:39:33 - Emulator] emulator: emulator window was out of view and was recentered
[2013-10-12 19:39:33 - Emulator]
[2013-10-12 19:39:33 - Hello_World] New emulator found: emulator-5554
[2013-10-12 19:39:33 - Hello_World] Waiting for HOME ('android.process.acore') to be launched...
[2013-10-12 19:40:57 - Hello_World] emulator-5554 disconnected! Cancelling 'chapter.two.hello_world.MainActivity activity launch'!
The two lines with "not found" at the end, and the very last line are actually in red ink.
Being brand new to Android development, I am not sure where the error is actually coming from. Is it related to the fact that I am doing this on a Windows 7 x64 VMware VM, is it related to the host system (also a Windows 7 x64 system), is it related to the graphics card and its software, OpenGL, position of Mars in relationship to Venus, screen resolution, etc.??? My hardware is a HP pavilion AMD three Core processor.

Project load is successful, new emulator opens, but with no content

I created a new AVD and things seemed to be going so swimmingly well. Yes a couple warnings and failures, but then apparent success - "Installing Tic-Tac-Toe.apk... Success! Starting activity... Starting: Intent" But nothing appears in the emulator, and underneath the date and time on the emulator screen is, "Charging (50%)" whatever that means.
Any ideas are tremendously appreciated.
Bruce
[2012-01-02 19:55:32 - Tic-Tac-Toe] ------------------------------
[2012-01-02 19:55:32 - Tic-Tac-Toe] Android Launch!
[2012-01-02 19:55:32 - Tic-Tac-Toe] adb is running normally.
[2012-01-02 19:55:32 - Tic-Tac-Toe] Performing com.wiley.fordummies.androidsdk.tictactoe.SplashScreen activity launch
[2012-01-02 19:55:32 - Tic-Tac-Toe] Automatic Target Mode: launching new emulator with compatible AVD 'TrialAVD'
[2012-01-02 19:55:32 - Tic-Tac-Toe] Launching a new emulator with Virtual Device 'TrialAVD'
[2012-01-02 19:56:02 - Emulator] emulator: warning: opening audio input failed
[2012-01-02 19:56:02 - Emulator]
[2012-01-02 19:56:05 - Emulator] emulator: WARNING: Unable to create sensors port: Unknown error
[2012-01-02 19:56:05 - Tic-Tac-Toe] New emulator found: emulator-5554
[2012-01-02 19:56:05 - Tic-Tac-Toe] Waiting for HOME ('android.process.acore') to be launched...
[2012-01-02 19:57:34 - Tic-Tac-Toe] WARNING: Application does not specify an API level requirement!
[2012-01-02 19:57:34 - Tic-Tac-Toe] Device API version is 12 (Android 3.1)
[2012-01-02 19:57:34 - Tic-Tac-Toe] HOME is up on device 'emulator-5554'
[2012-01-02 19:57:34 - Tic-Tac-Toe] Uploading Tic-Tac-Toe.apk onto device 'emulator-5554'
[2012-01-02 19:57:37 - Tic-Tac-Toe] Installing Tic-Tac-Toe.apk...
[2012-01-02 19:58:35 - Tic-Tac-Toe] Success!
[2012-01-02 19:58:35 - Tic-Tac-Toe] Starting activity com.wiley.fordummies.androidsdk.tictactoe.SplashScreen on device emulator-5554
[2012-01-02 19:58:36 - Tic-Tac-Toe] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.wiley.fordummies.androidsdk.tictactoe/.SplashScreen }

android emulator does not work

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.

Emulator Not Working in Eclipse

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

Android device not found

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.

Categories

Resources