← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #208438]: Sikuli + Android device

 

Question #208438 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/208438

    Status: Open => Answered

RaiMan proposed the following answer:
-- I wana use sikuli with android and perform some test on device
directly.

If this means, that you just took an existing sikuli-script.jar and put
it on the device, than the error messages are telling you the cause for
the problem:

Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.apache.log4j.xml.DOMConfigurator$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.

The byte code cannot be used in the device environment.

You have to build an appropriate sikuli-script.jar in the android
context from the sources. And you have to use the OpenCV Android
version. And you have to switch off the OCR features, since Tesseract is
not yet available for Android. And there might be some additional
problems coming up.

You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.