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

Driver Station crashing on startup #948

Closed
Hydroflame522 opened this issue Feb 23, 2024 · 7 comments
Closed

Driver Station crashing on startup #948

Hydroflame522 opened this issue Feb 23, 2024 · 7 comments

Comments

@Hydroflame522
Copy link

The FTC Driver Station APK is repeatedly crashing on startup

@Hydroflame522
Copy link
Author

I can provide logs or device details requested

@WestsideRobotics
Copy link
Collaborator

The FTC Driver Station APK is repeatedly crashing on startup

A team-specific issue is best posted here:
https://ftc-community.firstinspires.org/

And yes, useful feedback is more likely with a full report of the complete situation: control system, unique hardware and behavior, software versions, error messages, links to log files, links to OpModes, etc.

@Hydroflame522
Copy link
Author

After installing the FTC Driver Station app (using the latest REV hardware client to install the latest driver station), the app automatically crashes on startup (the tablet is android 11 32bit)

image_2024-02-22_211550537

i dont know where else to get the error logs other than adb logcat
this is just trying to get the app to open on this tablet, itll open on every other android device i try, just not this specific android tablet. if more/other specific logs are required to diagnose the situation i would appreciate if someone could assist me.

@Windwoes
Copy link
Member

Based on that log, It looks like that version of Android requires an extra permission in order to be able to turn on WiFi (something the DS does on startup)

@gearsincorg
Copy link

Perhaps check to see if that tablet has any special security provisions that can be manually enabled at the app level.
For info... who makes that tablet, or is it just a generic...

@texasdiaz
Copy link
Collaborator

Please realize that any help or assistance being provided here is being done purely unofficially. Officially we do not support running the Driver Station App on any hardware not specifically deemed legal in competition by the Game Manual. FIRST Tech Challenge does not support every version or manufacturer's flavor of the Android Operating System specifically because there is no standard set for manufacturers. Every manufacturer has the capability of modifying the Android Operating System (and do!) and FIRST Tech Challenge does not have the resources to debug and support them all.

@cmacfarl
Copy link
Member

The exception being thrown is because this flavor of Android does not have permission to write to https://developer.android.com/reference/android/Manifest.permission#WRITE_SECURE_SETTINGS, which as the documentation suggests is not something not for use by third party applications, and yet, WifiManager.setWifiEnabled(), deeper in the android call stack, is attempting to do so.

This appears to be a further tightening of the screws by Google w.r.t. Android 11 versus previous versions of Android. As @texasdiaz says, we only officially support the devices legal in the game manual. Any other device is YMMV.

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

6 participants