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

Failed to use the example #23

Open
Majanto opened this issue May 25, 2024 · 4 comments
Open

Failed to use the example #23

Majanto opened this issue May 25, 2024 · 4 comments

Comments

@Majanto
Copy link
Contributor

Majanto commented May 25, 2024

Hello!
I'm trying to use this Premake module to build an Android Studio project, but I can't figure out how to use the given example. When I run the generation command, I get a project that seems badly configured:
image

I'm on Windows
Any idea of what could be my issue here?

Thanks in advance!

@polymonster
Copy link
Owner

Not sure what the issue is, I can try taking a look to see if I can reproduce.

What gradle version are you using?

Changes in this pull request: #21 might help, I can try them and get them merged if it fixes the issue.

@polymonster
Copy link
Owner

I was able to reproduce on latest android studio / windows. Mostly I have been using this on macOS so haven't tested windows for a while.

If you delete the gradle properties file it should get around the issue. The file in the example doesn't have anything in it, but its a stub there for properties which can be specified via premake.

@polymonster
Copy link
Owner

I made a branch in which I am able to build the windows version: https://github.com/polymonster/premake-android-studio/tree/upgrade-gradle

Having trouble getting the gradle version correctly configured now on the CI (linux) so not able to merge to main just yet

@polymonster
Copy link
Owner

Changes are now merged into main, updated to gradle 8+ and fixed the issue with empty gradle.wrapper files

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

No branches or pull requests

2 participants