jitsi / jitsi-meet-sdk-samples

Jitsi Meet mobile SDK examples (Android, iOS and React Native)
Apache License 2.0
270 stars 235 forks source link

After updating the version from 6.0.0 to 7.0.1, getting below errors. #166

Open Tanmay321 opened 1 year ago

Tanmay321 commented 1 year ago

Hello,

I am trying to update the jitsi-meet-sdk version from 6.0.0 to 7.0.1 but getting below error after gradle build started.

org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve org.jitsi.react:jitsi-meet-sdk:7.0.1. org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.MetaDataParseException:

saghul commented 1 year ago

How does your build.gradle look like? Did you update Gradle itself by any chance?

Tanmay321 commented 1 year ago

@saghul I have updated the gradle version to 7.0.2, but it's still throwing same error.

saghul commented 1 year ago

Sorry, I don't know what causes this.

@tmoldovan8x8 any ideas?

tmoldovan8x8 commented 1 year ago

Hey @Tanmay321, I've just tried to update the jitsi-sdk to 7.0.1 in the sample app, where we have gradle 7.0.2 and it worked fine https://github.com/jitsi/jitsi-meet-sdk-samples. Could you paste the entire build output and even the gradle file, maybe we can figure out that is causing the issue.

Tanmay321 commented 1 year ago

Referred the jitsi-meet-sdk-sample code and did change in my project. Now the error message is changed.

Error: :app:writeDebugSigningConfigVersions org.gradle.api.internal.artifacts.ivy service.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugCompileClasspath'. org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Gradle Sync issues

Screenshot 2023-01-30 at 3 45 47 PM
saghul commented 1 year ago

Looks like your signing config is not set correctly.

Tanmay321 commented 1 year ago

Whenever i am downgrading the version to 6.0.0 it's working fine and not throwing any error. Once the version is upgraded then only i am getting this issues.

anurags2102 commented 1 year ago

Hi @saghul when I am trying to use version 7.0.1, I am getting the below issue. Can anyone help me for this?

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/R$string; at com.google.android.gms.common.internal.StringResourceValueReader.(com.google.android.gms:play-services-basement@@17.5.0:4) at com.google.firebase.FirebaseOptions.fromResource(FirebaseOptions.java:156) at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:243) at com.google.firebase.provider.FirebaseInitProvider.onCreate(FirebaseInitProvider.java:51) at android.content.ContentProvider.attachInfo(ContentProvider.java:2494) at android.content.ContentProvider.attachInfo(ContentProvider.java:2464) at com.google.firebase.provider.FirebaseInitProvider.attachInfo(FirebaseInitProvider.java:45) at android.app.ActivityThread.installProvider(ActivityThread.java:7602) at android.app.ActivityThread.installContentProviders(ActivityThread.java:7125) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7009) at android.app.ActivityThread.access$1700(ActivityThread.java:274) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2098) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:233) at android.app.ActivityThread.main(ActivityThread.java:8068) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978)