I use travis to build and run my unit test(junit) and automation test(espresso)
Issue: (of running espresso )
My project structure:
I want to use B.java in the test folder to replace B.java in the main folder.
Everything works fine in my local PC. (with commandline with android studio)
But in travis-ci:
Then I think it is AVD version issue.
So I created a new simulator in my local PC, and I and reproduce this Error. --- So it is AVD version issue.
My .travis.yml is:
Then I tried this:
Then I got this error:
However, I got error agin:
As this post mentioned, it may be blocked by some window:
Because it is running on Travis, i can see nothing.
I did another try: