Android App Crashes

I created an app based on the example app https://github.com/particle-iot/spark-sdk-android. The issues that I’m running into is when the device is offline and try to login the app crashed. If online everything works just fine. Any suggestions? I’m pretty new to app development.

That’s interesting. I wondering if there’s some bad state or network request that’s failing, cause a crash while in an offline state.

@jensck , would you have any insight on this for us?

Without a stack trace, it’s hard to say exactly what’s failing.

@oraclerouter could you hook up the device to ADB/Android Studio and copy/paste here the logs from the crash?

Thanks!