webrtc-sdk / android

WebRTC pre-compiled library for android.
MIT License
143 stars 22 forks source link

Could not find android-104.5112.05.jar (com.github.webrtc-sdk:android:104.5112.05). #11

Closed fikrirazzaq closed 1 year ago

fikrirazzaq commented 1 year ago

Hi, any reason why I cant find android-104.5112.05.jar? this blocking me from building the apk.

[        ] 1: Task failed with an exception.
[        ] -----------
[        ] * What went wrong:
[        ] Execution failed for task ':app:checkPosDebugAarMetadata'.
[        ] > Could not resolve all files for configuration ':app:posDebugRuntimeClasspath'.
[        ]    > Failed to transform android-104.5112.05.aar (com.github.webrtc-sdk:android:104.5112.05) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
[        ]       > Could not find android-104.5112.05.jar (com.github.webrtc-sdk:android:104.5112.05).
[        ]         Searched in the following locations:
[        ]             https://jitpack.io/com/github/webrtc-sdk/android/104.5112.05/android-104.5112.05.aar
[        ]             https://jitpack.io/com/github/webrtc-sdk/android/104.5112.05/android-104.5112.05.jar
[        ] * Try:
[        ] > Run with --debug option to get more log output.
[        ] > Run with --scan to get full insights.
[        ] Caused by: org.gradle.internal.resolve.ArtifactNotFoundException: Could not find android-104.5112.05.jar (com.github.webrtc-sdk:android:104.5112.05).
[        ] Searched in the following locations:
[        ]     https://jitpack.io/com/github/webrtc-sdk/android/104.5112.05/android-104.5112.05.aar
[        ]     https://jitpack.io/com/github/webrtc-sdk/android/104.5112.05/android-104.5112.05.jar
[        ] ==============================================================================
[        ] 2: Task failed with an exception.
[        ] -----------
[        ] * What went wrong:
[        ] java.lang.StackOverflowError (no error message)
[        ] * Try:
[        ] > Run with --debug option to get more log output.
[        ] > Run with --scan to get full insights.
[        ] ==============================================================================
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 20m 28s```

Duplicate issue: flutter-webrtc/flutter-webrtc#1298

davidliu commented 1 year ago

A mirror of 104.5112.05 is up on Maven Central, found here:

  dependencies {
    implementation 'io.github.webrtc-sdk:android:104.5112.05'
  }