Sorry, it is my mistake. I just copy the demo from google. I should update the app and activity name. :) Thanks all.
On 2月23日, 下午8时09分, Chenny <[email protected]> wrote: > Hi Friends, > I write a simple monkey script and try to run with Window host. > > ----------------------------------------------------------------------------------- > # Imports the monkeyrunner modules used by this program > from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice, > MonkeyImage > > # Connects to the current device, returning a MonkeyDevice object > device = MonkeyRunner.waitForConnection() > ----------------------------------------------------------------------------------- > > When I run with "monkeyrunner C:\ex\music.py", there will be with many > error as following. Has anybody met the similar issue? And how to > resolve it? > > 08:07:25 E/Device: Error during Sync: Local path doesn't exist. > 120223 20:07:25.530:S [main] > [com.android.chimpchat.adb.AdbChimpDevice] Error in > stalling package: myproject/bin/MyApplication.apk > 120223 20:07:25.530:S [main] > [com.android.chimpchat.adb.AdbChimpDevice]com.andro > id.ddmlib.InstallException: Local path doesn't exist. > 120223 20:07:25.530:S [main] > [com.android.chimpchat.adb.AdbChimpDevice] at com.a > ndroid.ddmlib.Device.installPackage(Device.java:525) > 120223 20:07:25.530:S [main] > [com.android.chimpchat.adb.AdbChimpDevice] at com.a > ndroid.chimpchat.adb.AdbChimpDevice.installPackage(AdbChimpDevice.java: > 289) > 120223 20:07:25.530:S [main] > [com.android.chimpchat.adb.AdbChimpDevice] at com.a > ndroid.monkeyrunner.MonkeyDevice.installPackage(MonkeyDevice.java:242) > 120223 20:07:25.530:S [main] > [com.android.chimpchat.adb.AdbChimpDevice] at sun.r > eflect.NativeMethodAccessorImpl.invoke0(Native Method) > 120223 20:07:25.530:S [main] > [com.android.chimpchat.adb.AdbChimpDevice] at sun.r > eflect.NativeMethodAccessorImpl.invoke(Unknown Source) > 120223 20:07:25.530:S [main] > [com.android.chimpchat.adb.AdbChimpDevice] at sun.r > eflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > 120223 20:07:25.530:S [main] > [com.android.chimpchat.adb.AdbChimpDevice] at java. > lang.reflect.Method.invoke(Unknown Source) > ................... > > Thanks so much! -- 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

