E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.apple.edrops, PID: 7190
java.lang.NullPointerException: CameraUpdateFactory is not initialized
at com.google.android.gms.common.internal.Preconditions.checkNotNull(Unknown Source:11)
at com.google.android.gms.maps.CameraUpdateFactory.zzc(Unknown Source:2)
at com.google.android.gms.maps.CameraUpdateFactory.newLatLngZoom(Unknown Source:29)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$getDeviceLocation$2.onSuccess(PlacePickerActivity.kt:298)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$getDeviceLocation$2.onSuccess(PlacePickerActivity.kt:54)
at com.google.android.gms.tasks.zzn.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
this is the error I am getting when testing in API level 26 emulator also nearby places are not listing.
but in higher versions the maps not showing as shown in your sample ,
E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.apple.edrops, PID: 7190 java.lang.NullPointerException: CameraUpdateFactory is not initialized at com.google.android.gms.common.internal.Preconditions.checkNotNull(Unknown Source:11) at com.google.android.gms.maps.CameraUpdateFactory.zzc(Unknown Source:2) at com.google.android.gms.maps.CameraUpdateFactory.newLatLngZoom(Unknown Source:29) at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$getDeviceLocation$2.onSuccess(PlacePickerActivity.kt:298) at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$getDeviceLocation$2.onSuccess(PlacePickerActivity.kt:54) at com.google.android.gms.tasks.zzn.run(Unknown Source:4) at android.os.Handler.handleCallback(Handler.java:789) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6541) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
this is the error I am getting when testing in API level 26 emulator also nearby places are not listing.
but in higher versions the maps not showing as shown in your sample ,
this is how i configured my map API
this is how I configured my android API
this is the screenshot from my latest device
E/RecyclerView: No adapter attached; skipping layout E/Volley: [6123] bq.a: Unexpected response code 400 for https://clients4.google.com/glm/mmap/api E/Volley: [6122] bq.a: Unexpected response code 400 for https://clients4.google.com/glm/mmap/api i am getting this status in my console.