Tag Archives: Lorg/apache/http/client

How to Fix:java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/methods/HttpPost

on Android 9.0/p phone, flash back, the error information is as follows:

java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/methods/HttpPost;

this is a bug in GooglePlay Services that you can fix by :

solution :

Add :

to the application tag of the manifest file, androidmanifest.xml

<uses-library android:name="org.apache.http.legacy" android:required="false" />

as follows: