Android Question Android 10 Failed resolution of apache http ProtocolVersion

diegoferreira

Member
Licensed User
Longtime User
This is the error:

Log Error:
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
    at dd.b(:com.google.android.gms.dynamite_mapsdynamite@[email protected] (120400-0):2)
    at dc.a(:com.google.android.gms.dynamite_mapsdynamite@[email protected] (120400-0):1)
    at cj.a(:com.google.android.gms.dynamite_mapsdynamite@[email protected] (120400-0):16)
    at cj.run(:com.google.android.gms.dynamite_mapsdynamite@[email protected] (120400-0):2)
Caused by: java.lang.ClassNotFoundException: org.apache.http.ProtocolVersion
    ... 4 more

Manifest Editor:
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="29"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.DarkTheme)

AddApplicationText(
<meta-data
  android:name="com.google.android.geo.API_KEY"
  android:value="AIzaSyCkFCkHAx6Gb1xs3UNMzLu42JdXO9-kbXc"/>
  <meta-data android:name="com.google.android.gms.version"
   android:value="[USER=21225]@Integer[/USER]/google_play_services_version" />
)

AddPermission("android.permission.ACCESS_FINE_LOCATION")

Libraries:
Capture.PNG


Hello, I have an application where I need GPS permissions for the location. The error occurs when I boot on my xiaomi poco x3 nfc phone with android 10, this error does not occur with phones with android versions 8.1.0 and 5.1.1. I hope you can help me. Thanks in advance!
 
Top