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

Kotlin plugin should be enabled before ‘kotlin-kapt’ error in Android Studio #34

Closed
Nomy1 opened this issue Mar 2, 2020 · 0 comments

Comments

@Nomy1
Copy link

Nomy1 commented Mar 2, 2020

Supposedly this only happens in Android Studio 3.5+.
This is based on a post found here https://www.tutorialkart.com/kotlin-android/kotlin-plugin-should-be-enabled-before-kotlin-kapt/

To fix, change the following in build.gradle
BEFORE

apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-android'

AFTER

apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
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