-
Notifications
You must be signed in to change notification settings - Fork 328
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
In 2022, can't get examples to work in #13
Comments
Thanks! You are using Android Studio and not IntelliJ IDEA which seems to enforce a specific Gradle version. Try this with IntelliJ IDEA community edition. |
Cool, that gets me closer, but rather than installing Community Edition, it turns out that you can disable IntelliJ's Android Studio plugin to achieve the same thing... ..., but then I get this:
So it seems IntelliJ integration is impossible. As a workaround, should I just run the gradle commands from IntelliJ's terminal? For example, using sdk-man, I can select gradle 1.7, and cd to the project's directory. |
You can use a newer version than Gradle 1.7 and I am sure the IDE would still be happy with it. In addition, Gradle now also requires you to add a Side note: For learning purposes, you don't really need an IDE. You may just open a project from an editor e.g. VsCode. You can always execute the build from the command line. Bottom line: The book would need a major overhaul, however, Manning Publications decided not to work on a second edition. |
First, thank you for writing this book!
Is it possible to run the code examples in a recent version of IntelliJ IDEA? I'm using 2021.3 Ultimate Edition. I'm using the gradle wrapper with the version set (see image below, note that the
s
is now required unlike a few years ago) as you suggest in your README, and I followed the tips you mentioned in this issue, but I get this output:My settings look like this:
Now that it's 2022, should I just give up on getting the code to work, and instead follow the book content as best as possible, following up with something like the Udemy Gradle Masterclass?
The text was updated successfully, but these errors were encountered: