Skip to content

Conversation

@julianoes
Copy link
Contributor

No description provided.

Copy link
Collaborator

@JonasVautherin JonasVautherin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't test it, but looks fine to me 👍

@AlexShafir
Copy link

After my corrections (in local clone) I checked and it is working, I see log files are created.

@julianoes
Copy link
Contributor Author

Amazing, thanks @AlexShafir. And you set the path or used the Android default?

@AlexShafir
Copy link

AlexShafir commented Jul 8, 2025

I had to set path, on my phone default path crashed:
terminating due to uncaught exception of type std::__ndk1::__fs::filesystem::filesystem_error: filesystem error: in create_directory: Permission denied ["/data/local/tmp/mavsdk-component-metadata-857cfc8c"]

I used this path to set:

val folder = File(context.filesDir, "logs")
if(!folder.exists()) folder.mkdir()
mMavsdkServer.setTempDirectory(folder.absolutePath)

@JonasVautherin JonasVautherin merged commit 21db659 into main Jul 15, 2025
2 checks passed
@JonasVautherin JonasVautherin deleted the pr-tmp-dir branch July 15, 2025 23:35
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

Successfully merging this pull request may close these issues.

4 participants