I'm a complete newb when it comes to Gradle, so I've been stuck trying to get it to work. I've tried following several guides but they tell me different things (e.g. use instrumentTest, androidtest, test, etc.).
I've managed to get the folder to show up highlighted in green, but then this appears.
Execution failed for task ':android:mockableAndroidJar'.
> java.lang.IllegalArgumentException (no error message)
I've tried Robolectric as well but I have no idea why nothing is working. And of course, since Android Studio 1.1 is relatively new (which supports unit testing), help is rather scarce.
Aucun commentaire:
Enregistrer un commentaire