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 Crashes When Connecting Movesense Device #25

Open
mudassar047 opened this issue Oct 4, 2024 · 4 comments
Open

App Crashes When Connecting Movesense Device #25

mudassar047 opened this issue Oct 4, 2024 · 4 comments

Comments

@mudassar047
Copy link

When attempting to connect the Movesense device, the app crashes unexpectedly. The crash occurs immediately upon initiating the connection in release mode. The issue persists regardless of the Movesense device model or the Android version being used.

@petri-lipponen-movesense
Copy link
Owner

Could you attach the full logcat output of the crash?

@petri-lipponen-movesense
Copy link
Owner

And try with latest example app (master) / 2.1.2 release.

@ksmets
Copy link

ksmets commented Dec 23, 2024

I think I've encountered the same issue when running release apk:

12-23 14:46:52.162 18801 18801 I f       : Connecting to BLE device: 0C:8C:DC:41:8C:30
12-23 14:46:52.162 18801 18801 I f       : MdsConnectionListener exists
12-23 14:46:52.164 18801 19397 I Komposti: [SDS REQUEST] type: POST uri: suunto://MDS/EventListener contract: {"Uri":"suunto://MDS/ConnectedDevices"}
12-23 14:46:52.164 18801 19403 I Komposti: Adding EventListener for path: suunto://MDS/ConnectedDevices                 12-23 14:46:52.165 18801 19403 I Komposti: [SDS RESPONSE] type: POST status: OK header: {"Content-Length": 0, "Uri": "suunto://MDS/EventListener", "TaskId": 14, "Reason": "OK", "Location": "MDS/EventListener/14", "Status": 200}
12-23 14:46:52.165 18801 19403 E Komposti: SDS::AndroidWrapper::callback: methodId==NULL. Dump callbcack. id: 14, header
: {"Content-Length": 0, "Uri": "suunto://MDS/EventListener", "TaskId": 14, "Reason": "OK", "Location": "MDS/EventListener/14", "Status": 200}
--------- beginning of crash
12-23 14:46:52.166 18801 19403 E AndroidRuntime: FATAL EXCEPTION: Thread-6
12-23 14:46:52.166 18801 19403 E AndroidRuntime: Process: com.tugberka.mdsflutter_example, PID: 18801
12-23 14:46:52.166 18801 19403 E AndroidRuntime: java.lang.NoSuchMethodError: no non-static method "Lj0/b;.SDSInternalCallback(IILjava/lang/String;[B)V"

Running debug build the device works fine.

@ksmets
Copy link

ksmets commented Dec 23, 2024

This is a duplicate of https://bitbucket.org/movesense/movesense-mobile-lib/issues/112/not-able-to-connect-to-movesense-after. After re-adding proguard-rules.pro it works again.

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

3 participants