Android Studio - Could Not Find Org.jetbrains.kotlin:kotlin-stdlib:1.1.3-2
I was tring to compile my project in Android Studio (using Java) and the following error appeared: Could not find org.jetbrains.kotlin:kotlin-stdlib:1.1.3-2. Searched in the follo
Solution 1:
Remove the buildscript
block from your app module build.gradle
. It overrides whatever the top-level build.gradle
provided and it's missing jcenter
repo where Kotlin is.
Solution 2:
So, I found the solution. I was still doing some research and I found this question: possible solution
People said jcenter() must be included in the project-level build.gradle, and since I already had it, I tried to add it to build.gradle (app).
It worked.
If someone could explain why, it would be awesome.
Post a Comment for "Android Studio - Could Not Find Org.jetbrains.kotlin:kotlin-stdlib:1.1.3-2"