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:
Read More:
- Android appears java.lang.NoClassDefFoundError A solution to the error
- How to Fix Error137 (net::ERR_NAME_RESOLUTION_FAILED)
- appear java.lang.NoClassDefFoundError A kind of reason and solution of the mistake
- Spring nested exception is java.lang.NoClassDefFoundError: org/springframework/core/MethodClassKey
- org.apache.flink.runtime.client.JobSubmissionException: Failed to submit JobGraph
- HTTP Error 502.5 – Process Failure (How to Fix)
- How to Fix Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
- Java.lang.Character . isdigit() and isletter() methods
- java.lang.NoClassDefFoundError: org/junit/platform/launcher/TestExecutionListener
- NoClassDefFoundError: org/apache/flink/metrics/MetricGroup
- java.lang.IllegalArgumentException : urlcoder exception resolution
- java.lang.IllegalArgumentException : URI scheme is not “file” error resolution
- Pychar console error: xmlrpc.client.Fault : Fault 0: ‘ java.lang.NullPointerException
- How to Fix java.net.ConnectException: Connection refused: connect
- Error in idea compilation: java.lang.OutOfMemoryError Java heap space and java.lang.StackOverflowError
- How To Fix Windows Java Error 1723
- java.lang.NoSuchMethodError: org.json.JSONObject.put(Java/lang/String; Java/util/Collection;) “209151;”
- INSTALL PARSE FAILED INCONSISTENT CERTIFICATES (How to Fix)
- How to Fix ERROR: Couldn’t connect to Docker daemon at http+docker://localhost – is it running?
- keytool error: java.lang.Exception: Failed to establish chain from reply