Anyone can run monkeyrunner tool?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Anyone can run monkeyrunner tool?

Tiến Lê
Hello everyone.
I try to run monkeyrunner tool from command line: 
"C:\Users\acer\AppData\Local\Android\Sdk\tools\bin>monkeyrunner.bat" but it is fail:
SWT folder '..\framework\x86_64' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.

I created folder ..\framework\x86_64' and copy swt.jar into and re-try to run monkeyrunner.bat but still got fail:
Error: Unable to access jarfile ..\framework\monkeyrunner-26.0.0-dev.jar (because infact jarfile ..\framework\monkeyrunner-26.0.0-dev.jar does not exist)
I copied monkeyrunner-26.0.0-dev.jar from C:\Users\acer\AppData\Local\Android\Sdk\tools\lib to C:\Users\acer\AppData\Local\Android\Sdk\tools\framework and retry and I still got fail:

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Predicate
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(
        at java.lang.Class.privateGetMethodRecursive(
        at java.lang.Class.getMethod0(
        at java.lang.Class.getMethod(
        at sun.launcher.LauncherHelper.validateMainClass(
        at sun.launcher.LauncherHelper.checkAndLoadMain(
Caused by: java.lang.ClassNotFoundException:
        at java.lang.ClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        ... 7 more

<a imageanchor="1" href="about:invalid#zClosurez" style="clear: left; margin-bottom: 1em; float: left; margin-right: 1em;">Capture.PNG

Anyone can help me resolve this issue?
Thank you so much

You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at
For more options, visit