abarichello / godot-ci

Docker image to export Godot Engine games. Templates for Gitlab CI and GitHub Actions to deploy to GitLab Pages/GitHub Pages/Itch.io.
https://hub.docker.com/r/barichello/godot-ci
MIT License
718 stars 127 forks source link

Another "a valid android sdk path is required in editor settings", no valid Android SDK Path, same as #59 and #68 #82

Open oneseedfruit opened 2 years ago

oneseedfruit commented 2 years ago

Using image barichello/godot-ci:3.4.4 (with GitHub), basically the same issue as #59 and #68. To get it to see the Android SDK path in /usr/lib/android-sdk, I had to run in the steps:

sed 's|export/android/android_sdk_path = ".*"|export/android/android_sdk_path = "'/usr/lib/android-sdk'"|g' -i /root/.config/godot/editor_settings-3.tres
mkdir -v -p ~/.config/godot
cp -v /root/.config/godot/editor_settings-3.tres ~/.config/godot/

Before doing this, it wouldn't detect the Android SDK path at all, but after these lines are added it worked perfectly.

DasOhmoff commented 2 years ago

I have this very same issue, but with godot-ci:mono. But I don't have the path /usr/lib/android-sdk, it does not exist when I set up the container. How do I fix this?

DasOhmoff commented 2 years ago

I just realized #50 says that it is not possible to export mono android build. It would be great to have that

blkc commented 5 months ago

For godot 4 is it editor_settings-4.tres? I am having some difficulty on the CI to have godot recognize the sdk path. I guess my question isn't specifically for this repo but godot as a whole.

Calinou commented 5 months ago

For godot 4 is it editor_settings-4.tres?

Yes, the number in the file path corresponds to the Godot major version number.