conn.addRequestProperty(entity.getContentType().getName(), entity.getContentType().getValue());
Er stürzt auf Samsung-Gerät mit Betriebssystemversion 4.1. Während auf Marshmallow Nexus 6 Gerät funktioniert es einwandfrei. Was ist das Problem?Verursacht durch: java.lang.NoClassDefFoundError: org.apache.http.util.Args
Gradle Datei
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'
ich in meinem Libs haben Ordner Httpclient-4.3.3.jar Httpclient-Cache-4.3.3.jar httpcore-4.3.2.jar httpmime-4.3.3 .jar
es auf Eibisch arbeitet, tut auf Samsung 4.1 läuft. nicht anders herum – user3278732
kann die Protokolle posten – GvSharma
Aufruf 'kompilieren 'org.apache.httpcomponents: httpcore: 4.4.1' compile 'org.apache.httpcomponents: httpclient: 4.5'' diese Version anstelle von Ihnen –