-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After adding the android sdk the app doesnt run #169
Comments
Looks like a problem with Firebase dependencies. Are you using Firebase yourself too? |
Yes but if I comment out the jitsi dependency everything works fine. |
Jitsi Meet also uses some Firebase dependencies, maybe there is an incompatibility in the versions, I'd start by checking that. |
Ok thank you! That's a great answer actually. Do you know the dependencies that jitsi has in order to find the compatibility? |
Best is to check the build.gradle file in the Jitsi Meet repo. It's in android/sdk/ |
I cannot find any dependencies regarding firebase in the samples repo. And I can't find a repo with the path you mentioned. Can you clarify where to look exactly? Thank you in advance! |
Hum, this is the file: https://github.com/jitsi/jitsi-meet/blob/master/android/sdk/build.gradle But indeed we separated Firebase to be used by the app and not the SDK, so I don't know where the collision can come from :-/ |
Yes i just find out! thank you though for the answers! any other suggestions? |
I see that the problem is something regarding dagger! I dont use dagger at that project! I have tried to remove the firebase dependencies but same problem there! To be more accurate there is another log in the latest case.
I dont know if that helps @saghul |
That last log is important. Are you using ProGuard? If so, did you set the rules required by the documentation? |
Oh no! My bad! Ok i added the proGuard rules. I have some errors there! should i add all of them? |
Yes, all the ones we mention are necessary. |
Ok I added them all. But still I am getting the first error! :/ |
@saghul So i read all the error and i found out that there was a problem with the rxjava dependency. I commented it out and now the error is the following:
|
@saghul So! after commenting out the rxjava and put the jitsi dependency to 6.1.0 the app builds and run. The problem now is that i am getting a very odd error! It says that the activity should implement the JitsiMeetActivityInterface but i implementing it. Any suggestions on that? |
Are you not using JitsiMeetActivity directly? |
What do you mean directly? I have written the example from the guide of android sdk |
So how are you launching the JitsiMeetActivity ? |
✓ Built build/app/outputs/flutter-apk/app-debug.apk. |
Hello there!
After adding the dependency implementation ('org.jitsi.react:jitsi-meet-sdk:+') { transitive = true }
i am getting the following error!
I have tried different versions of the dependency (latest and older) but nothing happens.
I have also tried to add the dagger dependency (after searching online) but still nothing happens.
I have followed the instructions from here https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-android-sdk and i dont know what to do to fix the following.
Please help.
Thank you in advance!
E/AndroidRuntime: FATAL EXCEPTION: main Process: eu.vidavo.vida24app, PID: 31823 java.lang.NoClassDefFoundError: Failed resolution of: Ldagger/internal/Factory; at com.google.android.datatransport.runtime.DaggerTransportRuntimeComponent.builder(com.google.android.datatransport:transport-runtime@@2.2.0:73) at com.google.android.datatransport.runtime.TransportRuntime.initialize(com.google.android.datatransport:transport-runtime@@2.2.0:76) at com.google.firebase.datatransport.TransportRegistrar.lambda$getComponents$0(com.google.firebase:firebase-datatransport@@17.0.3:37) at com.google.firebase.datatransport.TransportRegistrar$$Lambda$1.create(Unknown Source:0) at com.google.firebase.components.ComponentRuntime.lambda$new$0(com.google.firebase:firebase-components@@16.0.0:69) at com.google.firebase.components.ComponentRuntime$$Lambda$1.get(Unknown Source:4) at com.google.firebase.components.Lazy.get(com.google.firebase:firebase-components@@16.0.0:53) at com.google.firebase.components.AbstractComponentContainer.get(com.google.firebase:firebase-components@@16.0.0:27) at com.google.firebase.components.ComponentRuntime.get(com.google.firebase:firebase-components@@16.0.0:35) at com.google.firebase.components.RestrictedComponentContainer.get(com.google.firebase:firebase-components@@16.0.0:83) at com.google.firebase.messaging.FirebaseMessagingRegistrar.lambda$getComponents$0$FirebaseMessagingRegistrar(com.google.firebase:firebase-messaging@@20.3.0:25) at com.google.firebase.messaging.FirebaseMessagingRegistrar$$Lambda$0.create(Unknown Source:0) at com.google.firebase.components.ComponentRuntime.lambda$new$0(com.google.firebase:firebase-components@@16.0.0:69) at com.google.firebase.components.ComponentRuntime$$Lambda$1.get(Unknown Source:4) at com.google.firebase.components.Lazy.get(com.google.firebase:firebase-components@@16.0.0:53) at com.google.firebase.components.ComponentRuntime.initializeEagerComponents(com.google.firebase:firebase-components@@16.0.0:158) at com.google.firebase.FirebaseApp.initializeAllApis(com.google.firebase:firebase-common@@19.3.0:563) at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common@@19.3.0:304) at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common@@19.3.0:268) at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common@@19.3.0:253) at com.google.firebase.provider.FirebaseInitProvider.onCreate(com.google.firebase:firebase-common@@19.3.0:51) at android.content.ContentProvider.attachInfo(ContentProvider.java:2516) at android.content.ContentProvider.attachInfo(ContentProvider.java:2486) at com.google.firebase.provider.FirebaseInitProvider.attachInfo(com.google.firebase:firebase-common@@19.3.0:45) at android.app.ActivityThread.installProvider(ActivityThread.java:8418) at android.app.ActivityThread.installContentProviders(ActivityThread.java:7920) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7674) at android.app.ActivityThread.access$1800(ActivityThread.java:324) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2336) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:226) at android.os.Looper.loop(Looper.java:313) at android.app.ActivityThread.main(ActivityThread.java:8855) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135) Caused by: java.lang.ClassNotFoundException: dagger.internal.Factory at java.lang.VMClassLoader.findLoadedClass(Native Method) at java.lang.ClassLoader.findLoadedClass(ClassLoader.java:738) at java.lang.ClassLoader.loadClass(ClassLoader.java:363) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) at com.google.android.datatransport.runtime.DaggerTransportRuntimeComponent.builder(com.google.android.datatransport:transport-runtime@@2.2.0:73) at com.google.android.datatransport.runtime.TransportRuntime.initialize(com.google.android.datatransport:transport-runtime@@2.2.0:76) at com.google.firebase.datatransport.TransportRegistrar.lambda$getComponents$0(com.google.firebase:firebase-datatransport@@17.0.3:37) at com.google.firebase.datatransport.TransportRegistrar$$Lambda$1.create(Unknown Source:0) at com.google.firebase.components.ComponentRuntime.lambda$new$0(com.google.firebase:firebase-components@@16.0.0:69) at com.google.firebase.components.ComponentRuntime$$Lambda$1.get(Unknown Source:4) at com.google.firebase.components.Lazy.get(com.google.firebase:firebase-components@@16.0.0:53) at com.google.firebase.components.AbstractComponentContainer.get(com.google.firebase:firebase-components@@16.0.0:27) at com.google.firebase.components.ComponentRuntime.get(com.google.firebase:firebase-components@@16.0.0:35) at com.google.firebase.components.RestrictedComponentContainer.get(com.google.firebase:firebase-components@@16.0.0:83) at com.google.firebase.messaging.FirebaseMessagingRegistrar.lambda$getComponents$0$FirebaseMessagingRegistrar(com.google.firebase:firebase-messaging@@20.3.0:25) at com.google.firebase.messaging.FirebaseMessagingRegistrar$$Lambda$0.create(Unknown Source:0) at com.google.firebase.components.ComponentRuntime.lambda$new$0(com.google.firebase:firebase-components@@16.0.0:69) at com.google.firebase.components.ComponentRuntime$$Lambda$1.get(Unknown Source:4) at com.google.firebase.components.Lazy.get(com.google.firebase:firebase-components@@16.0.0:53) at com.google.firebase.components.ComponentRuntime.initializeEagerComponents(com.google.firebase:firebase-components@@16.0.0:158) at com.google.firebase.FirebaseApp.initializeAllApis(com.google.firebase:firebase-common@@19.3.0:563) at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common@@19.3.0:304) at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common@@19.3.0:268) at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common@@19.3.0:253) at com.google.firebase.provider.FirebaseInitProvider.onCreate(com.google.firebase:firebase-common@@19.3.0:51) at android.content.ContentProvider.attachInfo(ContentProvider.java:2516) at android.content.ContentProvider.attachInfo(ContentProvider.java:2486) at com.google.firebase.provider.FirebaseInitProvider.attachInfo(com.google.firebase:firebase-common@@19.3.0:45) at android.app.ActivityThread.installProvider(ActivityThread.java:8418) at android.app.ActivityThread.installContentProviders(ActivityThread.java:7920) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7674) at android.app.ActivityThread.access$1800(ActivityThread.java:324) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2336) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:226) at android.os.Looper.loop(Looper.java:313) at android.app.ActivityThread.main(ActivityThread.java:8855) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135) Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Ljavax/inject/Provider; at com.google.android.datatransport.runtime.DaggerTransportRuntimeComponent.builder(com.google.android.datatransport:transport-runtime@@2.2.0:73) at com.google.android.datatransport.runtime.TransportRuntime.initialize(com.google.android.datatransport:transport-runtime@@2.2.0:76) at com.google.firebase.datatransport.TransportRegistrar.lambda$getComponents$0(com.google.firebase:firebase-datatransport@@17.0.3:37) at com.google.firebase.datatransport.TransportRegistrar$$Lambda$1.create(Unknown Source:0) at com.google.firebase.components.ComponentRuntime.lambda$new$0(com.google.firebase:firebase-components@@16.0.0:69) at com.google.firebase.components.ComponentRuntime$$Lambda$1.get(Unknown Source:4) at com.google.firebase.components.Lazy.get(com.google.firebase:firebase-components@@16.0.0:53) at com.google.firebase.components.AbstractComponentContainer.get(com.google.firebase:firebase-components@@16.0.0:27) at com.google.firebase.components.ComponentRuntime.get(com.google.firebase:firebase-components@@16.0.0:35) at com.google.firebase.components.RestrictedComponentContainer.get(com.google.firebase:firebase-components@@16.0.0:83) at com.google.firebase.messaging.FirebaseMessagingRegistrar.lambda$getComponents$0$FirebaseMessagingRegistrar(com.google.firebase:firebase-messaging@@20.3.0:25) at com.google.firebase.messaging.FirebaseMessagingRegistrar$$Lambda$0.create(Unknown Source:0) at com.google.firebase.components.ComponentRuntime.lambda$new$0(com.google.firebase:firebase-components@@16.0.0:69) at com.google.firebase.components.ComponentRuntime$$Lambda$1.get(Unknown Source:4) at com.google.firebase.components.Lazy.get(com.google.firebase:firebase-components@@16.0.0:53) at com.google.firebase.components.ComponentRuntime.initializeEagerComponents(com.google.firebase:firebase-components@@16.0.0:158) at com.google.firebase.FirebaseApp.initializeAllApis(com.google.firebase:firebase-common@@19.3.0:563) at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common@@19.3.0:304) at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common@@19.3.0:268) at com.google.firebase.FirebaseApp.initializeApp(com.google.firebase:firebase-common@@19.3.0:253) at com.google.firebase.provider.FirebaseInitProvider.onCreate(com.google.firebase:firebase-common@@19.3.0:51) at android.content.ContentProvider.attachInfo(ContentProvider.java:2516) at android.content.ContentProvider.attachInfo(ContentProvider.java:2486) at com.google.firebase.provider.FirebaseInitProvider.attachInfo(com.google.firebase:firebase-common@@19.3.0:45) at android.app.ActivityThread.installProvider(ActivityThread.java:8418) at android.app.ActivityThread.installContentProviders(ActivityThread.java:7920) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7674) at android.app.ActivityThread.access$1800(ActivityThread.java:324) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2336) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:226) at android.os.Looper.loop(Looper.java:313) at android.app.ActivityThread.main(ActivityThread.java:8855) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135) E/AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "javax.inject.Provider" on path: DexPathList[[zip file "/data/app/~~qcdKTlnD_NTYi31NAnJwuQ==/eu.vidavo.vida24app-XuhVojR52R41uAFvLPaC1g==/base.apk"],nativeLibraryDirectories=[/data/app/~~qcdKTlnD_NTYi31NAnJwuQ==/eu.vidavo.vida24app-XuhVojR52R41uAFvLPaC1g==/lib/arm64, /data/app/~~qcdKTlnD_NTYi31NAnJwuQ==/eu.vidavo.vida24app-XuhVojR52R41uAFvLPaC1g==/base.apk!/lib/arm64-v8a, /system/lib64, /system/system_ext/lib64]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259) at java.lang.ClassLoader.loadClass(ClassLoader.java:379) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) ... 36 more
The text was updated successfully, but these errors were encountered: