-
Notifications
You must be signed in to change notification settings - Fork 44
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
Android app crashes with std::bad_cast on mavsdkServer.run("udp://:14550") #169
Comments
Hmm... could you maybe try the latest version 2.1.0? https://central.sonatype.com/search?q=mavsdk |
Updated and I get the same two errors. |
I can get the sample android app working correctly, but the mavsdk version is pretty old. I'm trying to update that as well to 2.1.0 to narrow down issues. |
Here's a PR to update several pieces of the android-client, including the mavsdk 2.1.0 - #170 seems to build and run okay (at least drone connection). So now I'm wondering if there's some dependency issue in my app... but not sure what that would be. |
@Sefibrah: Does 2.1.0 work for you? Just to have another data point |
I'm also occasionally seeing this error, again pointing to some weird dependency issue?
|
Are you getting mavsdk from Maven or compiling it yourself? |
I'm using Maven. We also use the DJI SDK in the same app and I think I've traced the issue to
If you remove |
Hi!
I'm using
mavsdk:2.0.1
andmavsdk-server:2.0.0
in my Android app. I finally have everything compiling, but when I callmavsdkServer.run("udp://:14550")
, I get an app crash withI've also been intermittently dealing with
but right now the first error is where I'm stuck.
I did see #70 which looks like a similar error at the end of the thread, but no resolution there.
Do you have any suggestions?
The text was updated successfully, but these errors were encountered: