MarcinMoskala / KtAcademyPortal

Multiplatform Kotlin application of KotlinAcademy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to build

IgorGanapolsky opened this issue · comments

Hello,
I am trying to build your project in Android Studio, but getting the following error:

Build file '/Users/igorganapolsky/workspace/git/kotlin/KotlinAcademyApp/desktop/build.gradle' line: 49

  • What went wrong:
    A problem occurred evaluating project ':desktop'.

Could not resolve all files for configuration ':desktop:compile'.
Could not resolve com.squareup.okhttp3:logging-interceptor:3.6.0.
Required by:
project :desktop > project :common-client-jvm
project :desktop > project :common-client-jvm > project :common-jvm
> Could not resolve com.squareup.okhttp3:logging-interceptor:3.6.0.
> Could not get resource 'http://dl.bintray.com/kotlinx/kotlinx/com/squareup/okhttp3/logging-interceptor/3.6.0/logging-interceptor-3.6.0.module'.
> Could not GET 'http://dl.bintray.com/kotlinx/kotlinx/com/squareup/okhttp3/logging-interceptor/3.6.0/logging-interceptor-3.6.0.module'.
> Read timed out

Any ideas?
Thanks

When I tried to build again, I got this error:

  • Where:
    Build file '/Users/igorganapolsky/workspace/git/kotlin/KotlinAcademyApp/common-js/build.gradle' line: 22
  • What went wrong:
    A problem occurred evaluating project ':common-js'.

Could not resolve all files for configuration ':common-js:testCompile'.
Could not resolve org.jetbrains.kotlinx:kotlinx-serialization-runtime-js:0.6.1.
Required by:
project :common-js
> Could not resolve org.jetbrains.kotlinx:kotlinx-serialization-runtime-js:0.6.1.
> Could not parse module metadata https://kotlin.bintray.com/kotlinx/org/jetbrains/kotlinx/kotlinx-serialization-runtime-js/0.6.1/kotlinx-serialization-runtime-js-0.6.1.module
> Unsupported format version '0.3' specified in module metadata. This version of Gradle supports format version 0.4 only.