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

DriverApp crash when pickup request find a driver and make a call #15

Closed
EowynnAR opened this issue Jul 28, 2020 · 3 comments
Closed

DriverApp crash when pickup request find a driver and make a call #15

EowynnAR opened this issue Jul 28, 2020 · 3 comments

Comments

@EowynnAR
Copy link

Buenas Iram, estoy empezando con este proyecto y me gusta mucho lo que hiciste, pero estoy teniendo varios errores, y este es uno, si me podrías ayudar.
Cuando el cliente encuentra un conductor y realiza el llamado la app del driver crashea cuando aparece la ventana para aceptar el viaje, dejo el log

E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.iramml.uberclone.driverapp, PID: 5504
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.get(ArrayList.java:437)
----->at com.iramml.uberclone.driverapp.Activities.CustommerCall$4.onResponse(CustommerCall.java:120)
at retrofit2.DefaultCallAdapterFactory$ExecutorCallbackCall$1$1.run(DefaultCallAdapterFactory.java:83)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)

Estoy atento a su respuesta.
Muchas gracias.

@IramML
Copy link
Owner

IramML commented Jul 29, 2020

Tienes activada la API de rutas? Con billing, gratuita no

@EowynnAR
Copy link
Author

EowynnAR commented Jul 29, 2020 via email

@IramML
Copy link
Owner

IramML commented Jul 29, 2020

Claro, por donde gustes

@IramML IramML closed this as completed Jul 29, 2020
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

2 participants