I use Cucumber for my android tests. I start a test of a feature file. During the test (cucumber-step) I call a function which is located in the ‘main’ folder and not in the ‘androidTest’ folder of my project. This does not work and I get the following error:
Step failed
java.lang.NoClassDefFoundError
When I start a normal junit test, then this works.
Any ideas?