I have an issue in Released APK
. java.lang.IncompatibleClassChangeError
Error comes when install and open release APK. But my debug APK is working properly. I saw lot of links and stackoverflow question but I didn't got any solution. What should I do?
java.lang.IncompatibleClassChangeError: Class 'org.apache.http.message.BasicHeader' does not implement interface 'org.apache.http.NameValuePair' in call to 'java.lang.String org.apache.http.NameValuePair.getName()' (declaration of 'com.android.volley.toolbox.BasicNetwork' appears in /data/app/com.mypackage.myprojectname-XI7DFLjbpTwZkGhQ3WYiBQ==/base.apk)
at com.android.volley.toolbox.BasicNetwork.convertHeaders(SourceFile:3)
at com.android.volley.toolbox.BasicNetwork.performRequest(SourceFile:8)
at com.android.volley.NetworkDispatcher.run(SourceFile:8)
Any help will be appreciated. Thanks.