Caused by: java.lang.NoClassDefFoundError: org.apache.http.util.Args
问题 conn.addRequestProperty(entity.getContentType().getName(), entity.getContentType().getValue()); It crashes on samsung device running operating system version 4.1. While on Marshmallow Nexus 6 device, it works perfectly fine. What is the problem? Gradle file compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.google.android.gms:play-services:8.4.0' compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:design:23.1.1' I have in my libs folder httpclient-4.3.3