AgoraIO-Community / VideoUIKit-Android

An Android package to simply integrate Agora Video Calling or Live Video Streaming to your app with just a few lines of code.
https://agoraio-community.github.io/VideoUIKit-Android/
MIT License
25 stars 15 forks source link

Duplicate class found error occured on building v4.0.0 #27

Closed gopalawasthi123 closed 1 year ago

gopalawasthi123 commented 1 year ago

Describe the bug On integrating the Agora VideoUIKit-Android gives duplicate class error on compiling

To Reproduce Steps to reproduce the behavior:

  1. Go to build.gradle and add implementation "com.github.AgoraIO-Community:Android-UIKit:v4.0.0"
  2. Click on make project
  3. Scroll down to build console
  4. See error Duplicate class io.agora.agorauikit_android.AgoraButton found in modules final-debug-v4.0.0-runtime (com.github.AgoraIO-Community.Android-UIKit:final-debug:v4.0.0) and final-v4.0.0-runtime (com.github.AgoraIO-Community.Android-UIKit:final:v4.0.0)

Expected behavior Project should be build

Screenshots Smartphone (please complete the following information):

Meherdeep commented 1 year ago

@gopalawasthi123 can you try using this as a dependency for the latest 4.0.0 version implementation 'com.github.AgoraIO-Community.VideoUIKit-Android:final:v4.0.0'