Plugin with id 'kotlin-android' not found - fixed
See original GitHub issueFIXED in 10.1.1
Thanks all for the report, sorry again 😢
Original report follows:
Bug description: Cant build project by Android Studio with next error:
A problem occurred evaluating project ':react-native-webview'.
> Plugin with id 'kotlin-android' not found.
To Reproduce:
I just updated react-native-webview
from 9.4.0
to 10.1.0
.
Expected behavior: Build project successfully.
Environment:
- OS: macOS
- OS version: 10.15.4
- react-native version: 0.62.2
- react-native-webview version: 10.1.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:23
- Comments:28 (3 by maintainers)
Top Results From Across the Web
Error:(1, 0) Plugin with id 'kotlin-android-extensions' not found
When i add this extensions in android studio preview, give me this error "Error:(1, 0) Plugin with id 'kotlin-android-extensions' not found.".
Read more >I am getting this error in my android studio "Plugin with id ...
plugin with id 'kotlin-android' not found. One possible way to resolve it is, first, install the Kotlin plugin if it isn't installed.
Read more >[Solved]-Plugin with id 'kotlin-android' not found. flutter-kotlin
Related Query · File Copy Flutter Plugin in Android with Kotlin · Gradle kotlin script, > Plugin with id `kotlin` not found ·...
Read more >Incorrect Kotlin Gradle plugin version used [248824549]
Plugin [id: 'org.jetbrains.kotlin.android', version: '1.7.20-dev-1059', apply: false] was not found in any of the following sources:
Read more >`kotlin-android` Gradle plugin can't be applied in plugins dsl
If something is still not working, please comment. kb1000 commented 31 Aug 2018 14:53 ... KotlinJvmCompile plugins { id("kotlin-android") } tasks.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I added in
android/build.gradle
That helped but I waiting guide from maintainers.
EDIT FROM MAINTAINER: this won’t be required in versions > 10.1.0, you might want to remove it if you don’t wanna risk importing 2 different versions for no reason. BTW this was a good workaround, thanks 😄
To Reproduce: I just installed react-native-webview ( using npm i react-native-webview) then tried to build my project got this error
1: Task failed with an exception.
Where: Build file ‘C:\Users\Dell\Documents\apps\audiomessage\node_modules\react-native-webview\android\build.gradle’ line: 27
What went wrong: A problem occurred evaluating project ‘:react-native-webview’.
2: Task failed with an exception.