You should check the application name first,you can get it by enter
"ps" or check in DDMS->File Explorer
Normally the name should be like "com,android.camera"

On 4月2日, 上午8时22分, Romain Guy <[email protected]> wrote:
> The -p flag is used to specify the package name of the application,
> not the name of the source (.java) files. For instance to run the
> monkeys on Home you'd use -p com.android.launcher
>
>
>
>
>
> On Wed, Apr 1, 2009 at 5:10 PM, axy <[email protected]> wrote:
>
> > Hi
>
> > I´m trying to use the App monkey in an Upload / Download Application
> > but when I try to run it I get this error:
>
> > C:\Documents and Settings\workspace\AndroidRD\APPLICATIONS
> > \INTERNET_WIFI
> > \Download_Upload_Http\src\com\Download_Upload_Http>adb shell monkey -p
> > En
> > gine.java -p Download.java -p R.java -p Splash.java -p Upload.java -v
> > 100
> > :Monkey: seed=0 count=100
> > :AllowPackage: Download.java
> > :AllowPackage: Splash.java
> > :AllowPackage: R.java
> > :AllowPackage: Engine.java
> > :AllowPackage: Upload.java
> > :IncludeCategory: android.intent.category.LAUNCHER
> > :IncludeCategory: android.intent.category.MONKEY
> > ** No activities found to run, monkey aborted.
>
> > Any idea of this error? The application runs well in Android Emulator.
>
> > Thanks
>
> --
> Romain Guy
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them- 隐藏被引用文字 -
>
> - 显示引用的文字 -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" 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-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to