Put this in the Manifest <application>
tag:
<uses-library android:name="org.apache.http.legacy" android:required="false"/>
More info: https://issuetracker.google.com/issues/79478779
This will resolve your crash. Apply this in manifest
<application
...
>
...
<uses-library android:name="org.apache.http.legacy"
android:required="false"/>
...
<application/>
Do one of the following solutions:
1- Update the play-services-maps library to latest version:
com.google.android.gms:play-services-maps:16.1.0
2- Or include the following declaration within the <application>
element of AndroidManifest.xml
.
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
If your app is targeting API level 28 (Android 9.0) or above, you must include the following declaration within the <application>
element of AndroidManifest.xml.
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With