-
Notifications
You must be signed in to change notification settings - Fork 158
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
java.lang.NoClassDefFoundError: com/android/build/gradle/AppPlugin #47
Comments
Support for Android gradle 3.x plugin is already merged into @JLLeitschuh will do soon a new plugin release. |
Great, thanks! |
This has just been published as version |
I tried it out and I seem to be getting a similar error:
Is my understanding correct that I should just add |
In your case you have applied ktlint plugin via I've tried to apply ktlint via |
Oh right, that makes sense. The old way seems to work, thanks for the help! |
If anyone is still facing this issue, then please check the compatibility of Gradle version used in the project and the version of Gradle plugin which studio is using |
Gradle 4.4.1, Android Gradle Plugin 3.0.1
I'm trying to add the plugin to https://github.com/hzsweers/CatchUp via the
plugins
block in the top-levelbuild.gradle
file. The build fails with the following error:Here's a part of the stacktrace that looks relevant:
Any special considerations when running the plugin on Android?
The text was updated successfully, but these errors were encountered: