微信扫一扫
今天用junit4的时候,发现gradle总是不能依赖到testCompile的包,提示找不到类定义
将testCompile改成compile,重新gradle工程,神奇的好使了。
相关推荐