When I write a unit test on Android Studio(0.2.0) with some log output, but alfter I ran it , there are no logs except
09-13 11:16:39.747 20963-20978/com.wanshangle I/TestRunner: started: testAndroidTestCaseSetupProperly(com.wanshangle.api.test.AsyncHttpRequestTest)
09-13 11:16:39.747 20963-20978/com.wanshangle I/TestRunner: finished: testAndroidTestCaseSetupProperly(com.wanshangle.api.test.AsyncHttpRequestTest)
09-13 11:16:39.747 20963-20978/com.wanshangle I/TestRunner: passed: testAndroidTestCaseSetupProperly(com.wanshangle.api.test.AsyncHttpRequestTest)
By default when running unit tests in android studio it shows you a runner log window, this only relates to the actual running though. If you wan't to see the log you get from Log.x you have to open the LogCat window. You'll find this under "View->Tool Windows->Android":

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With