How to resolve duplicated gradle Dependency issues

后端 未结 4 1641
情话喂你
情话喂你 2021-02-04 01:33

I have tried to test my code with robolectric. Problem is that it has duplicated References. e.g.

java.lang.RuntimeException: java.lang.RuntimeException: Duplica         


        
4条回答
  •  执笔经年
    2021-02-04 01:48

    The solution for me was to ensure that I was not requiring Robolectric in my androidTestImplementation dependencies.

    Once I fixed that, I did not have any conflicts to fix.

提交回复
热议问题