Skip to content Skip to sidebar Skip to footer

Google Maps V1 Crashing In Android 10

I'm trying to use google map v1, in my android app, but app crashes as soon as I open map activity in android 10. *FATAL EXCEPTION: DataRequestDispatcher Process: c.techahead.andro

Solution 1:

Support for the Apache HTTP client was removed beginning with Android 9. What you need to do instead is add the following declaration:

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

within the <application> element of your AndroidManifest.xml.

Note that if you use (or update to) com.google.android.gms:play-services-maps:16.1.0 or above, then you don't need to add this at all. For more details check out Google's documentation.

Hope this helps!


Post a Comment for "Google Maps V1 Crashing In Android 10"