Open your system command prompt/terminal
-> Go to your Project folder path (root project folder )
-> Execute following command :
command :- gradlew clean
or ./gradlew clean
Make sure that all your gradle dependencies are of same version.
-> Example :- your appcompat and recyclerview dependencies should have same version.
-> Change your gradle dependencies to same version like :-
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'
-> Rebuild your project and it will work fine.
solved TransformException: java.util.zip.ZipException: duplicate entry: android/support/v4/widget/ExploreByTouchHelper.class