Skip to content
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

[3.x] Fix relative keystore paths on android exporter with custom build #56676

Merged

Conversation

jasonwinterpixel
Copy link
Contributor

Cherry pick of #56673

If you use a relative path for the release and debug keystores in an Android exporter with 'custom build' enabled, godot will pass those relative paths to gradlew, which interprets them as being relative to res://android/build, but godot's export window itself thinks those paths are relative to res://. This means godot's UI will say you cannot export, but if you run godot --export, it will actually succeed, OR godot will think the paths are correct, but then gradle will fail to find the keystores.

This pull request converts relative paths to absolute paths before sending them to gradlew.

@akien-mga
Copy link
Member

Please remember to squash the commits when it's ready for merge.

@jasonwinterpixel
Copy link
Contributor Author

jasonwinterpixel commented Jan 10, 2022

Okay, will do. Squashed.

@akien-mga akien-mga merged commit 123fcfa into godotengine:3.x Jan 12, 2022
@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 3.4.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants