BlondeSwan
BlondeSwan

Reputation: 792

Update Android Studio Project to Kotlin 1.3

I am attempting to Use Kotlin Coroutine's runBlocking function, but I receive the error that this method was introduced in Kotlin 1.3.

So, I tried updating my Android Studio project to use Kotlin 1.3.0

But, when I do that, I get the error: "org.jetbrains.kotlin:kotlin-stdlib-jre7:1.3.0" is unresolved...

What is the recommended way to update my Android Studio project to use Kotlin 1.3? Or is there another method similar to runBlocking that is compatible with Kotlin 1.2.51?

Upvotes: 0

Views: 1727

Answers (1)

Sergio
Sergio

Reputation: 30735

I guess it has different version. Try to use:

implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.0'

Upvotes: 1

Related Questions