saibotma / jitsi_meet_wrapper

Jitsi Meet Plugin for Flutter. Wrapping JitsiMeetSDK for Android and iOS.
BSD 3-Clause "New" or "Revised" License
26 stars 61 forks source link

Unable to build for Android `Could not resolve com.github.MatrixFrog:android-scalablevideoview:v1.0.4-jitpack.` #53

Closed nilsreichardt closed 1 year ago

nilsreichardt commented 1 year ago
* What went wrong:
Execution failed for task ':app:checkDevReleaseAarMetadata'.
> Could not resolve all files for configuration ':app:devReleaseRuntimeClasspath'.
   > Could not resolve com.github.MatrixFrog:android-scalablevideoview:v1.0.4-jitpack.
     Required by:
         project :app > project :jitsi_meet_wrapper > org.jitsi.react:jitsi-meet-sdk:5.0.2 > com.facebook.react:react-native-video:5.2.0-jitsi-10226385
      > Could not resolve com.github.MatrixFrog:android-scalablevideoview:v1.0.4-jitpack.
         > Could not get resource 'https://www.jitpack.io/com/github/MatrixFrog/android-scalablevideoview/v1.0.4-jitpack/android-scalablevideoview-v1.0.4-jitpack.pom'.
            > Could not GET 'https://www.jitpack.io/com/github/MatrixFrog/android-scalablevideoview/v1.0.4-jitpack/android-scalablevideoview-v1.0.4-jitpack.pom'.
               > Connect to www.jitpack.io:443 [www.jitpack.io/149.56.28.39] failed: Connection refused (Connection refused)
nilsreichardt commented 1 year ago

Adding this to my android/build.gradle seems to work as a workaround:

allprojects {
    repositories {
        .... # Keep the rest
        jcenter() {
            content {
                includeModule("com.yqritc", "android-scalablevideoview")
            }
        }
    }
}

Source: https://github.com/react-native-video/react-native-video/issues/2454

AjinkyaKhobragade commented 1 year ago
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve org.jitsi.react:jitsi-meet-sdk:5.0.2.
     Required by:
         project :app > project :jitsi_meet_wrapper
      > Could not resolve org.jitsi.react:jitsi-meet-sdk:5.0.2.
         > Could not get resource 'https://jitpack.io/org/jitsi/react/jitsi-meet-sdk/5.0.2/jitsi-meet-sdk-5.0.2.pom'.
            > Could not GET 'https://jitpack.io/org/jitsi/react/jitsi-meet-sdk/5.0.2/jitsi-meet-sdk-5.0.2.pom'.
               > Read timed out

this error persists. Any help would be appreciated.

saibotma commented 1 year ago

PR is highly appreciated, as my time is very limited atm.

saibotma commented 1 year ago

Probably will just have to update the jitsi-meet android (and iOS) dependency.

AjinkyaKhobragade commented 1 year ago

Hey, thank you for replying. Can you help me with a guide on how to update?

saibotma commented 1 year ago

Feel free to reopen this issue when it is still valid in the next version that will be released soon.