I am trying to prepare test case which uses selendroid-standalone to handle connection to mobile phone. The project uses Maven and contains several submodules, so I have added such dependency to top pom.xml:
<dependency>
<groupId>io.selendroid</groupId>
<artifactId>selendroid-standalone</artifactId>
<scope>compile</scope>
<type>jar</type>
<version>0.5.1</version>
</dependency>
After that when I try to compile it I get such error:
Error adding archived file-set. PlexusIoResourceCollection not found for:
d:\XXX\selendroid-server-0.5.1.apk:
No such archiver: 'apk'.
I tried to move the dependency to submodule but then I have NoClassDefFoundError at lines where I use SelendroidConfiguraion
or other classes from the package.
EDIT: Adding any other dependency works with no NoClassDefFoundError.