-
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
Execution failed for task ':sdk:mavsdk:generateProto' #118
Comments
Thanks for the note @alariq. I'm hoping @JonasVautherin can help here. |
Which version of gradle are you using? Are you not using the gradle wrapper provided with the project? I am not using it on Windows, is it different? I would expect Gradle to behave similarly, but maybe there are tricks with the paths there? |
It could be indeed that path issue is platform dependent. I also suspect that second issue is path related as wel as when I add some debug code to python, I see only first letter of disk, probably something is going on with ':' separator. |
Would be nice if you could investigate a bit, it really feels like this is related to the paths on Windows. Would be nice to understand if that's supposed to work like on Linux or not 👍. |
Hi, I am a bit under pressure now, if I have some time in the future I'll have a look |
I have the next problem:
`Execution failed for task ':sdk:mavsdk:generateProto'.
I did some investigation and found out that if I change
option "template_path=$project.rootDir/templates/"
to
option "template_path=./templates/"
(relative path)it works ok (well there is another (issue) but there is a workaround.
However, when I add this project to my app by using:
includeBuild '../sdk'
I receive same issue.It looks like problem is partially related to gradle version, because in this case I alaso have issue with checkstyle task, it complains about :
configDir = project.provider({ rootProject.file("config/checkstyle") })
so I looked up that
configDir
now has to be changed toconfigDirectory
.When I do this change I get back to the first error, related to template folder.
Any ideas on how can I make it work in my project provided that it compiles ok separately in console (after changing template folder path to relative form)
Thank you!
The text was updated successfully, but these errors were encountered: