Open alariq opened 1 year ago
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. I am using AGP 7.3.0 and Graddle 7.4 (But I tried older versions without success). Also note that I am not really an Android dev, so every time I need to write something for Android I tend to fight with Android Studio and graddle doing too much behind the scenes : -)
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 :+1:.
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/"
tooption "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 thatconfigDir
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!