INDExOS / media-for-mobile

Media for Mobile
Other
456 stars 176 forks source link

Could not determine artifacts error #98

Closed kwony closed 4 years ago

kwony commented 4 years ago

Hello,

Today I tried to sync your library source via gradle and failed. It showed this error.

Could not determine artifacts for com.github.indexOS.media-for-mobile:android:master-SNAPSHOT:43a9026f09-1: Skipped due to earlier error

I am using gradle version 4.10.1. I didn't watch this error yesterday. Is there something wrong with jitpack server?

Caused by: java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    at java.net.SocketInputStream.read(SocketInputStream.java:171)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
kwony commented 4 years ago

I could fix this error with an workaround patch by extending socket timeout.

org.gradle.jvmargs= -Dorg.gradle.internal.http.connectionTimeout=120000 -Dorg.gradle.internal.http.socketTimeout=120000