Duplicate file error comes when you have added the dependency jar to build.gradle file and also you are having same .jar file in your libs folder. To eliminate this error try to have only one thing, either have it in your build.gradle or in locally in your libs folder.
0
solved I am trying to have an MQTT protocol in android studio. I have also updated gradle.properties [closed]