For command-line development on Ubuntu, put your SDK tools/ and platform-tools/ directories in your PATH. At that point:
monkeyrunner path/to/your/script.py should work. On Mon, Jun 4, 2012 at 6:17 AM, Amey Bapat <[email protected]> wrote: > HELLO PEOPLE, > well i have wriiten a sample python script in my eclipse. > now i need to run it on my emulator. > this is whr i am getting stuck.. > dis is the blog i followed to make it work > http://goravsingal.hubpages.com/hub/Android-UI-Automation-with-Python > where dey say this is to be done.. > > Open shell prompt (cmd.exe, or terminal) > > - Type absolute path of monkeyrunner followed by path of python script > > example: "c:\\Program Files\\Android\\android-sdk\\tools\ > \monkeyrunner.bat" "C:\\sample.py" > > did not work out for me.. > i am using ubuntu.. > not sure what exactly is to be done.. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

