Error: execution failed for task ': app: transformClassesWithMultidexlistForDebugAndroidTest'

I can not understand why this error occurs
Complete mistake

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

In my gradle project for Android there was no "androidTest", so I manually created a test folder too, here is a screenshot of the folder structure enter image description here

+6
source share
1 answer

I would not consider this a great answer, but that is what I did.
I removed testInstrumentationRunner = "android.support.test.runner ....." from the build.gradle file and restarted
It starts to work :)
It is just for information.

+1
source

All Articles