Google Maps crashing on Android Pie

Viewed 5658

I am testing Google Map on Google Pixel running the latest version of Android Pie.

Caused by java.lang.ClassNotFoundException
Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/0000000e/MapsDynamite.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/0000000e/MapsDynamite.apk!/lib/arm64-v8a, /system/lib64]]
3 Answers

Google map is not property supported android 9+. Use the following code in your manifest file. it will work.

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