I wrote a small test using Robolectric. There is an issue - no messages are written to the test console. In the tested code there is a lot of code like
Log.d("bla","bla")
or
System.out.println("bla")
but anyway, there is no output.
我认为您已应用日志的代码部分未执行。所以这就是为什么日志不出现的原因。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.