skrafft / react-native-jitsi-meet

React native wrapper for Jitsi Meet SDK
Apache License 2.0
285 stars 348 forks source link

Could not find any matches for org.jitsi.react:jitsi-meet-sdk:+ as no versions of org.jitsi.react:jitsi-meet-sdk are available. #254

Open broshni25 opened 3 years ago

broshni25 commented 3 years ago

I made my custom SDK following the steps in the handbook and this worked on my previous version of android studio. However, on updating to the latest version, the above mentioned error is coming.

Steps: git clone https://github.com/jitsi/jitsi-meet.git 29 Navigate to the newly added jitsi-meet folder and execute npm install after that remove video mute button from toolbox.js. Create a new folder( /tmp/repo ) inside root folder Copy the react native and JavaScriptCore dependency via cp -r node_modules/react-native/android/com tmp/repo/ and c p -r node_modules/jsc-android/dist/org tmp/repo/ Run this command ./android/scripts/release-sdk.sh /tmp/repo Create a new android Project Copy the /tmp/repo folder into this project Add maven { url “file:/tmp/repo” } in the build.gradle (Project:MyProject) Add implementation (‘org.jitsi.react:jitsi-meet-sdk:+’) { transitive = true } to the build.gradle

I also tried using the entire path, but the error persists. Screenshot 2021-03-16 at 6 51 58 PM Screenshot 2021-03-16 at 6 49 06 PM

zhuyuan2016 commented 3 years ago

Maybe this can help you; 1.change "maven { url “file:/tmp/repo” }" to like this "maven { url("$rootDir/../tmp/repo") }" 2.open 'node_modules/react-native-jitsi-meet/build.gradle' file ,edit "$jitsi_version" to you current jitsi sdk version.