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

App crash on opening "Settings" #57

Open
GustavBroend opened this issue May 30, 2024 · 3 comments
Open

App crash on opening "Settings" #57

GustavBroend opened this issue May 30, 2024 · 3 comments

Comments

@GustavBroend
Copy link

Hi. Cool app! I managed to open a websocket and stream GPS and Acellerometer data. However, when i try to access the settings to change my sampling rate, the app crashes. I'm currently on Android 11, and I'm using the newest release from the repo: https://github.com/umer0586/SensorServer/releases/tag/v5.3.0

Is there a workaround I can use to set the sample rate?
Best regards,
Gustav

@umer0586
Copy link
Owner

umer0586 commented Jun 1, 2024

Hi,

I reviewed the crash report you sent via email. The main cause of the app crash is:

java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

The reason for this error is still unknown. Only a few Android devices have reported this issue. It might be related to ProGuard rules affecting the release build, but I am not certain. Have you tested the app on other devices?

@GustavBroend
Copy link
Author

Hi

Thanks for the quick response. I haven't tried any other devices - I might try and install it on my old phone. Otherwise, should i try to update my Android version? What version do you use? Is there any way for me to play around with the ProGuard rules without having to compile the APK myself?

Best regards,
Gustav

@umer0586
Copy link
Owner

umer0586 commented Jun 4, 2024

You should definitely check the app on your older phone. The app should work just fine on Android 5.0 or later. By the way, ProGuard rules are only used during the compilation process to shrink and obfuscate code.

I can tell you I've personally tested the app on a variety of Android versions, including 7, 10, 11, 12, and 13 without such issue. So, there's a good chance it'll work smoothly on your old device as well.

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