用AS導(dǎo)入eclipse項(xiàng)目昔榴,你可能碰到以下的報(bào)錯(cuò)
解決方案:
再build.gradle文件中添加一行代碼既可以解決,
testCompile "com.squareup.leakcanary:leakcanary-Android-no-op:1.4-beta2"
如下圖所示:
ps:我的博客:http://blog.csdn.NET/shenshizhong
? ? ? ?我的簡(jiǎn)書:http://www.reibang.com/users/345daf0211ad/latest_articles