Closed nch0w closed 4 years ago
Can you reproduce it?
Also are you using OpenRC?
Yes, I am, and I'm using a Moto G4. I will give you some steps to reproduce the issue soon.
From: Ryan Brott notifications@github.com Sent: Tuesday, November 12, 2019 9:13:39 AM To: acmerobotics/ftc-dashboard ftc-dashboard@noreply.github.com Cc: Neil Chowdhury neil.chowdhury@outlook.com; Author author@noreply.github.com Subject: Re: [acmerobotics/ftc-dashboard] Crashes on launch (#14)
Also are you using OpenRC?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/acmerobotics/ftc-dashboard/issues/14?email_source=notifications&email_token=AEDKDERVYAWTUYD5LW6KUJDQTK2ZHA5CNFSM4JLAJLJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED2L4MY#issuecomment-552910387, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEDKDEQDVDMME3RSQ5W5WOLQTK2ZHANCNFSM4JLAJLJA.
@nchowder I suspect you are using the Extreme Turbo build variant of OpenRC. That version doesn't include the webserver, so it is incompatible with ftc-dashboard. Make sure to switch to the normal Turbo build variant in Android Studio.
@FROGbots-4634 You might want to consider mentioning that Extreme Turbo is incompatible with third-party libraries that use the webserver, such as ftc-dashboard.
You can still use the dashboard with Extreme Turbo if you really want. Just omit the #attachWebServer()
call and run the dashboard locally using the development instructions (or host the generated static files under releases).
This solves my problem.
The app crashes when opened. I'm getting this error:
Here is my
FtcRobotControllerActivity.java
file: https://gist.github.com/nchowder/e86a81e0ece858cf5b76ea5a3f767528The line that throws the error is this:
It appears that
service.getWebServer()
is null. Could you help me troubleshoot this?