Error while compiling release build in Android Studio 3.0 RC2

后端 未结 6 1653
耶瑟儿~
耶瑟儿~ 2020-12-10 03:58

How can I fix this issues while compiling release build in Android Studio 3.0 RC2

Error:Error: commons-logging defines classes that conflict with cl

6条回答
  •  [愿得一人]
    2020-12-10 05:00

    In my case I use this dependency:

    compile 'com.github.nkzawa:socket.io-client:0.3.0'
    

    The json is wrong. I changed

    implementation('com.github.nkzawa:socket.io-client:0.3.0',{
        exclude group:'org.json',module: 'json'
    })
    

提交回复
热议问题