[android-beginners] Re: Unable to stop Emulator from commandline in linux

2009-09-25 Thread Indicator Veritatis

Fedora 9 is already a rather dated version of Fedora, too. Fedora 11
is much more stable.

BTW: did you remember to give yourself superuser privileges before the
'kill 9'? You should, for example, if the PID of the emulator process
were 3155, issue, "su -c 'kill -9 3155'".

This assumes, of course, that you started the emulator in the
background, e.g, "emulator ... &". Otherwise ^C should have done the
trick.

On Sep 24, 7:01 am, Sean Hodges  wrote:
> On Thu, Sep 24, 2009 at 2:40 PM, Smruti  wrote:
> > [r...@localhost tools]# emulator -avd test_avd
> > unknown option: -avd
> > Android Emulator usage: emulator [options] [-qemu args]
> >  options:
> >    -system             read system image from 
> >    -datadir            write user data into 
>
> Hi Smruti,
>
> Your problem may be related to the audio functionality in the
> emulator:http://www.mail-archive.com/android-beginners@googlegroups.com/msg096
> Although this person was able to kill -9 his emulator. Still, it might
> be different symptoms for the same bug...
>
> Is there a particular reason why you're using such an outdated version
> of the SDK? I'm a tad suspicious of the reliability running a 1.5 AVD
> against a 1.1 emulator, it might be fine, but if you're having
> problems it might be worth downloading the latest SDK to eliminate the
> possibility of compatibility problems.
>
> Sean
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Unable to stop Emulator from commandline in linux

2009-09-24 Thread Sean Hodges

On Thu, Sep 24, 2009 at 2:40 PM, Smruti  wrote:
> [r...@localhost tools]# emulator -avd test_avd
> unknown option: -avd
> Android Emulator usage: emulator [options] [-qemu args]
>  options:
>    -system             read system image from 
>    -datadir            write user data into 
>

Hi Smruti,

Your problem may be related to the audio functionality in the
emulator: 
http://www.mail-archive.com/android-beginners@googlegroups.com/msg09605.html.
Although this person was able to kill -9 his emulator. Still, it might
be different symptoms for the same bug...

Is there a particular reason why you're using such an outdated version
of the SDK? I'm a tad suspicious of the reliability running a 1.5 AVD
against a 1.1 emulator, it might be fine, but if you're having
problems it might be worth downloading the latest SDK to eliminate the
possibility of compatibility problems.

Sean

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Unable to stop Emulator from commandline in linux

2009-09-24 Thread Smruti

Hi earl,
 Thanks for the response. I have created the avd before
launching Emulator but forgot to add in my post. Please Commands used
are listed below.
[r...@localhost tools]# android create avd --target 2 --name test_avd
Android 1.5 is a basic Android platform.
Do you wish to create a custom hardware profile [no]no
Created AVD 'test_avd' based on Android 1.5
[r...@localhost tools]# android list avds
Available Android Virtual Devices:
Name: test_avd
Path: /root/.android/avd/test_avd.avd
  Target: Android 1.5 (API level 3)
Skin: HVGA

In Linux (fedora 9) when I am using following command "emulator -avd
test_avd" it's not recognising -avd command.That's why I tried with
running "emulator: from command prompt".Please find the stack trace
detail which I got after running the earlier said command.

[r...@localhost tools]# emulator -avd test_avd
unknown option: -avd
Android Emulator usage: emulator [options] [-qemu args]
  options:
-system read system image from 
-datadirwrite user data into 

Any suggestion to resolve this will be greatly appreciated from my
end.

Thanks N Regards,
Smruti

On Sep 18, 9:19 pm, Earl Wilson  wrote:
> Smruti,
>
> Do you configure your emulator on the first run?  The instructions
> said to run tools/emulator -avd .  I noticed in your post
> you did not have -avd .
>
> I run mandriva and with the terminal in the foreground I can type ctrl
> c and my emulator stops.  If ctrl c does not kill it you can try the
> ctrl z.  If a kill -9 command does not kill a process a kill -15
> usually will.
>
> Hope this helps
> Earl
>
> On Sep 15, 6:25 am, Smruti  wrote:
>
>
>
> > Hi,
> >         I am unable to stop the emulator from command prompt.Can
> > anyone please help me in this.
> >         I am using Linux Fedora 9.0 version and Adroid SDK Version is
> > 1.1, Ant 1.6.5.
> >         To start the emulator I have used following steps.
> >         Open a terminal and go to android-sdk-linux_x86-1.1_r1/tools
> > and type "emulator" .after typing "emulator" ,press ENTER key.
> >          It will launch a Android Emulator in port 5554.
> >          Now my concern is to stop the Emulator which is running.I
> > have tried with opening another terminal and run kill -9 (process Id
> > for emulator running) which is not working. On click of  "cross
> > symbol" to close emulator is hanging the system and Keyboard is not
> > responding at all.Please help me to avoid forceful shutdown of the
> > system everytime just to stop an emulator.
>
> > Thanks,
> > Smruti- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Unable to stop Emulator from commandline in linux

2009-09-18 Thread jotobjects

ctrl z will probably (depending on the shell) suspend (not kill) the
job. That might not do what your want.

On Sep 18, 9:19 am, Earl Wilson  wrote:
> Smruti,
>
> Do you configure your emulator on the first run?  The instructions
> said to run tools/emulator -avd .  I noticed in your post
> you did not have -avd .
>
> I run mandriva and with the terminal in the foreground I can type ctrl
> c and my emulator stops.  If ctrl c does not kill it you can try the
> ctrl z.  If a kill -9 command does not kill a process a kill -15
> usually will.
>
> Hope this helps
> Earl
>
> On Sep 15, 6:25 am, Smruti  wrote:
>
> > Hi,
> >         I am unable to stop the emulator from command prompt.Can
> > anyone please help me in this.
> >         I am using Linux Fedora 9.0 version and Adroid SDK Version is
> > 1.1, Ant 1.6.5.
> >         To start the emulator I have used following steps.
> >         Open a terminal and go to android-sdk-linux_x86-1.1_r1/tools
> > and type "emulator" .after typing "emulator" ,press ENTER key.
> >          It will launch a Android Emulator in port 5554.
> >          Now my concern is to stop the Emulator which is running.I
> > have tried with opening another terminal and run kill -9 (process Id
> > for emulator running) which is not working. On click of  "cross
> > symbol" to close emulator is hanging the system and Keyboard is not
> > responding at all.Please help me to avoid forceful shutdown of the
> > system everytime just to stop an emulator.
>
> > Thanks,
> > Smruti
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Unable to stop Emulator from commandline in linux

2009-09-18 Thread Earl Wilson

Smruti,

Do you configure your emulator on the first run?  The instructions
said to run tools/emulator -avd .  I noticed in your post
you did not have -avd .

I run mandriva and with the terminal in the foreground I can type ctrl
c and my emulator stops.  If ctrl c does not kill it you can try the
ctrl z.  If a kill -9 command does not kill a process a kill -15
usually will.

Hope this helps
Earl

On Sep 15, 6:25 am, Smruti  wrote:
> Hi,
>         I am unable to stop the emulator from command prompt.Can
> anyone please help me in this.
>         I am using Linux Fedora 9.0 version and Adroid SDK Version is
> 1.1, Ant 1.6.5.
>         To start the emulator I have used following steps.
>         Open a terminal and go to android-sdk-linux_x86-1.1_r1/tools
> and type "emulator" .after typing "emulator" ,press ENTER key.
>          It will launch a Android Emulator in port 5554.
>          Now my concern is to stop the Emulator which is running.I
> have tried with opening another terminal and run kill -9 (process Id
> for emulator running) which is not working. On click of  "cross
> symbol" to close emulator is hanging the system and Keyboard is not
> responding at all.Please help me to avoid forceful shutdown of the
> system everytime just to stop an emulator.
>
> Thanks,
> Smruti
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---