05/15/2024 15:19:45

Problem Description

Android 9.0 crashes when the user logs in it and reports an error like "ClassNotFoundException: Didn't find class "org.apache.http.conn.scheme.SchemeRegistry"". Details are shown in the following diagram.

Image Description

Cause of the Problem

Apache http is used in QQ opensdk. Starting from Android 9.0, if you want to continue to use apache http, you need to add a configuration description under the "application" node in the AndroidManifest.xml file according to Google's official instruction documentation, because the org.apache.http.legacy library is not available on these devices.

Solution

Add the following configuration description under the "application" node in the AndroidManifest.xml file to solve the problem.

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



Copyright © 2024 MSDK.
All rights reserved.

results matching ""

    No results matching ""