Posts Tagged ‘NoClassDefFoundError’

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

To solve the this problem just put the following code 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 Android 9 and above versions ... Full story
Copyright © 2024 Programmer to Programmer- A website for web programming and mobile application programming tutorials.
Wordpress themes