ERROR: Failed to resolve: org.jetbrains.kotlin:kotlin-stdlib-jre7:1.3.10

kotlin的版本升级之后,报错:ERROR: Failed to resolve: org.jetbrains.kotlin:kotlin-stdlib-jre7:1.3.10

把app下的

implementation"org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"

改成

 implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

唯一的不同就是jre改成jdk,如图:

ERROR: Failed to resolve: org.jetbrains.kotlin:kotlin-stdlib-jre7:1.3.10_第1张图片

你可能感兴趣的:(kotlin,kotlin,Failed,to,resolve)