Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 402 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
After update to Android Studio 3.1 I'm facing this error: Could not find org.jetbrains.kotlin:kotlin-stdlib-jre8:1.2.0

#1
After updating to Android Studio 3.1, I'm facing this error.

Note: I'm using Java not Kotlin

Could not find org.jetbrains.kotlin:kotlin-stdlib-jre8:1.2.0.

Searched in the following locations:

[To see links please register here]

[To see links please register here]

[To see links please register here]

[To see links please register here]

Required by:
project :app > com.android.tools.build:gradle:3.1.0 > com.android.tools.build:gradle-core:3.1.0
project :app > com.android.tools.build:gradle:3.1.0 > com.android.tools.build:gradle-core:3.1.0 > com.android.tools.build:builder:3.1.0
project :app > com.android.tools.build:gradle:3.1.0 > com.android.tools.build:gradle-core:3.1.0 > com.android.tools.lint:lint-gradle-api:26.1.0
project :app > com.android.tools.build:gradle:3.1.0 > com.android.tools.build:gradle-core:3.1.0 > com.android.tools.build:gradle-api:3.1.0
project :app > com.android.tools.build:gradle:3.1.0 > com.android.tools.build:gradle-core:3.1.0 > com.android.databinding:compilerCommon:3.1.0
project :app > com.android.tools.build:gradle:3.1.0 > com.android.tools.build:gradle-core:3.1.0 > com.android.tools.build:builder:3.1.0 > com.android.tools:sdk-common:26.1.0
project :app > com.android.tools.build:gradle:3.1.0 > com.android.tools.build:gradle-core:3.1.0 > com.android.tools.build:builder:3.1.0 > com.android.tools.build:manifest-merger:26.1.0
project :app > com.android.tools.build:gradle:3.1.0 > com.android.tools.build:gradle-core:3.1.0 > com.android.tools.build:builder:3.1.0 > com.android.tools:sdklib:26.1.0 > com.android.tools:repository:26.1.0
Reply

#2
JCenter was being cranky the other day, so following should help:

repositories {
mavenCentral() // <-- add this at top
google()
jcenter()
}
Reply

#3
Add the following to your Project gradle file:

buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.0'
}
}
Reply

#4
Add the JCenter repo to your Project-level `build.gradle` file:

buildscript {
dependencies {
repositories {
//...
google()
jcenter() // <--- this is needed
}

classpath 'com.android.tools.build:gradle:3.1.0'
}
}
Reply

#5
Working like this

```
buildscript {
ext.kotlin_version = '1.1.1' //Add this line
repositories {
jcenter()
google()
}
dependencies {

classpath 'com.android.tools.build:gradle:3.1.0'
classpath 'com.google.gms:google-services:3.2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
jcenter()
google()
}
}
```
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through