Workaround For Gradle Errors

Hey folks, I’m one of the Tech Editors. We’ve had some people getting this pop-up when trying to open existing projects:


This is because newer versions of Gradle and Kotlin have come out since the book was published. If you hit Update, on the next Gradle build, you’ll see this error:


In order to get it to build, update the project’s build.gradle file to use the Kotlin plugin version mentioned in the error:


Please let us know if you have more questions! Thank you!

Edited to add: While the examples here show the project from Chapter 2, this applies to all projects until the update we have in the works is out.

@designatednerd Thank you for sharing all this - much appreciated! :]