Why Log.d() print nothing when running Android Local Unit Test?
问题 I'm trying to print something when running Android Local Unit Test , but nothing's happening. What's the matter? How can I fix it? I consulted some documents on http://developer.android.com, found that Android Local Unit Test just run on my machine's JVM, the android.jar file that is used to run unit tests does not contain any actual code, so Log.d() print nothing. If i wanna print log, how can i do? Here is my code, FeedbackModelTest.java located in src/test/main directory. package com