Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting error and app crashed #65

Open
GjoAbrahamN opened this issue Mar 8, 2020 · 0 comments
Open

getting error and app crashed #65

GjoAbrahamN opened this issue Mar 8, 2020 · 0 comments

Comments

@GjoAbrahamN
Copy link

GjoAbrahamN commented Mar 8, 2020

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 ,
Screenshot 2020-03-08 at 3 26 46 PM
this is how i configured my map API
Screenshot 2020-03-08 at 3 28 36 PM

this is how I configured my android API

Screenshot_2020-03-08-15-29-51-18_cca077c0d5add1ea1302c3e253867b41
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant