Robotium + Android studio

0
0

When I run robotium (5.2.1) tests from android studio 1.0 RC 2, I get this following error ==>

:app:shrinkDebugTestMultiDexComponents FAILED
Error:Execution failed for task ':app:shrinkDebugTestMultiDexComponents'.> java.io.IOException: The output jar is empty. Did you specify the proper '-keep' options?

I have no problem to run the application “in normal mode”.

Do you know where is my problem ?

Thx in advance

EDIT

According to Jared Burrows’s answer I can pass task shrinkDebugTestMultiDexComponents but now I have this problem

:app:packageAllDebugTestClassesForMultiDex FAILED
Error:Execution failed for task ':app:packageAllDebugTestClassesForMultiDex'.> java.util.zip.ZipException: duplicate entry: android/support/multidex/BuildConfig.class
  • You must to post comments
Showing 0 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Website