2

I have been researching this problem all day since updating AS to 2.0 this morning and cant find any solutions.

When running espresso UI tests, this 'warning' shows up:

enter image description here

The error used to be a warning before upgrading AS.

The espresso UI tests can still run, but after they pass, AS reports that they have been terminated. I do not believe this issue is related to progaurd and I do not need to DEX. I have tried checking out the project fresh from git. (i was able to fix the duplicateFileException)

The problem: warning messages shows as an error, and UI tests 'terminate' after passing

enter image description here

You can see here the test passed but is terminated...

Any help greatly appreciated!

1ak31sha
  • 501
  • 7
  • 18
  • http://stackoverflow.com/questions/34750611/unit-tests-terminated-in-debug-mode - similar to this issue...i tried turning off instant run but it didnt work for me – 1ak31sha Apr 11 '16 at 21:45
  • http://stackoverflow.com/questions/36553985/terminated-test-status-without-any-failure-message-in-android-studio-2-0-while-u – 1ak31sha Apr 11 '16 at 21:50

1 Answers1

1

The Test Terminated issue is fixed in Android Studio 2.1. The update is available now. Also consider upgrading Android Gradle plugin to 2.1.0 if you have other issues.

Yogesh Umesh Vaity
  • 41,009
  • 21
  • 145
  • 105