Tagged: Java

How to solve java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/util/ByteArrayBuffer 0

How to solve java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/util/ByteArrayBuffer

To solve the this problem just put the following code[<uses-library android:name=”org.apache.http.legacy” android:required=”false”/>] below tag on the manifiest tag. For eg: <application android:icon=”@drawable/icon” …… android:theme=”@style/AppTheme.NoActionBar”> <uses-library android:name=”org.apache.http.legacy” android:required=”false”/> This problem is caused by targeting target...