Can't add xstream 1.4.8 dependency to Android using gradle

こ雲淡風輕ζ 提交于 2019-12-04 10:40:00

Solution was to downgrade xstream to v1.4.7 and exclude xmlpull.

compile ('com.thoughtworks.xstream:xstream:1.4.7') {
    exclude group: 'xmlpull', module: 'xmlpull'
}

I don't know exactly why, but I'd guess that it must be java8-related.

I was getting the same Error.What i did, i just Disable the "Enable all the test artifacts" from my default preferences.

and Open build variants select unit tests..

Hope above Ans may helps any one.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!