What steps will reproduce the problem?
1. Use android studio 0.8.1
2. Create a activity with the template of navigation drawer
3. Call clickOnActionBarHomeButton() in the
ActivityInstrumentationTestCase2<TheNewCreatedClass>
What is the expected output? What do you see instead?
Expected:
ActionBar Home Button should be clicked
Actual:
ActionBar Home Button is not clicked.
What version of the product are you using? On what operating system?
5.2.1 on Windows 7, android studio 0.8.1
Please provide any additional information below.
Remark:
copy the function from github to the test code, the ignored Exception is thrown.
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original
thread that created a view hierarchy can touch its views.
Original issue reported on code.google.com by gilbert....@znap.com on 7 Jul 2014 at 8:33
Original issue reported on code.google.com by
gilbert....@znap.com
on 7 Jul 2014 at 8:33