Issue
After upgrading to Android Studio 2.0, my tests that are annotated with @RequiresDevice are now running with the 2.0 emulators. Is there some switches I should use in the emulator to make it a emulator again?
Solution
The reason is because I did not use the latest support library of test runner and test rules, annotations. Upgrading to latest (version number at the date of this writing):
com.android.support:support-annotations:23.3.0
com.android.support.test:runner:0.5.0
com.android.support.test:rules:0.5.0
fixes the issue.
Answered By - Yenchi
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.