Skip to content
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

Open
TetrixGauss opened this issue Apr 19, 2023 · 19 comments
Open

After adding the android sdk the app doesnt run #169

TetrixGauss opened this issue Apr 19, 2023 · 19 comments

Comments

@TetrixGauss
Copy link

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

@saghul
Copy link
Member

saghul commented Apr 20, 2023

Looks like a problem with Firebase dependencies. Are you using Firebase yourself too?

@TetrixGauss
Copy link
Author

Yes but if I comment out the jitsi dependency everything works fine.

@saghul
Copy link
Member

saghul commented Apr 20, 2023

Jitsi Meet also uses some Firebase dependencies, maybe there is an incompatibility in the versions, I'd start by checking that.

@TetrixGauss
Copy link
Author

Ok thank you! That's a great answer actually. Do you know the dependencies that jitsi has in order to find the compatibility?

@saghul
Copy link
Member

saghul commented Apr 20, 2023

Best is to check the build.gradle file in the Jitsi Meet repo. It's in android/sdk/

@TetrixGauss
Copy link
Author

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!

@saghul
Copy link
Member

saghul commented Apr 20, 2023

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 :-/

@TetrixGauss
Copy link
Author

Yes i just find out! thank you though for the answers! any other suggestions?

@TetrixGauss
Copy link
Author

TetrixGauss commented Apr 20, 2023

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.

E/System: java.io.IOException: Failed to open dex files from /data/data/${app_package}/code_cache/.overlay/base.apk/classes5.dex because: Failure to verify dex file '/data/data/${app_package}//code_cache/.overlay/base.apk/classes5.dex': Method 49755(Lorg/webrtc/PeerConnectionFactory;.-$$Nest$smnativeCreatePeerConnectionFactory) has code, but is marked native or abstract

I dont know if that helps @saghul

@saghul
Copy link
Member

saghul commented Apr 20, 2023

That last log is important. Are you using ProGuard? If so, did you set the rules required by the documentation?

@TetrixGauss
Copy link
Author

Oh no! My bad!

Ok i added the proGuard rules. I have some errors there! should i add all of them?

@saghul

@saghul
Copy link
Member

saghul commented Apr 20, 2023

Yes, all the ones we mention are necessary.

@TetrixGauss
Copy link
Author

Ok I added them all. But still I am getting the first error! :/

@saghul

@TetrixGauss
Copy link
Author

@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:

E/AndroidRuntime: FATAL EXCEPTION: main Process: eu.vidavo.vida24app, PID: 6262 java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: java.lang.ClassNotFoundException: org.jitsi.meet.sdk.JitsiInitializer at android.app.ActivityThread.installProvider(ActivityThread.java:8423) 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: androidx.startup.StartupException: java.lang.ClassNotFoundException: org.jitsi.meet.sdk.JitsiInitializer at androidx.startup.AppInitializer.discoverAndInitialize(AppInitializer.java:204) at androidx.startup.InitializationProvider.onCreate(InitializationProvider.java:38) at android.content.ContentProvider.attachInfo(ContentProvider.java:2516) at android.content.ContentProvider.attachInfo(ContentProvider.java:2486) 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: org.jitsi.meet.sdk.JitsiInitializer at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:454) at java.lang.Class.forName(Class.java:379) at androidx.startup.AppInitializer.discoverAndInitialize(AppInitializer.java:190) at androidx.startup.InitializationProvider.onCreate(InitializationProvider.java:38)  at android.content.ContentProvider.attachInfo(ContentProvider.java:2516)  at android.content.ContentProvider.attachInfo(ContentProvider.java:2486)  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: Didn't find class "org.jitsi.meet.sdk.JitsiInitializer" on path: DexPathList[[dex file "/data/data/eu.vidavo.vida24app/code_cache/.overlay/base.apk/classes.dex", dex file "/data/data/eu.vidavo.vida24app/code_cache/.overlay/base.apk/classes26.dex", dex file "/data/data/eu.vidavo.vida24app/code_cache/.overlay/base.apk/classes4.dex", zip file "/data/app/~~jCa-SF3QATWNEHmPqI7DrA==/eu.vidavo.vida24app-cbnEr7KPqOKMda2d5GVPQw==/base.apk"],nativeLibraryDirectories=[/data/app/~~jCa-SF3QATWNEHmPqI7DrA==/eu.vidavo.vida24app-cbnEr7KPqOKMda2d5GVPQw==/lib/arm64, /data/app/~~jCa-SF3QATWNEHmPqI7DrA==/eu.vidavo.vida24app-cbnEr7KPqOKMda2d5GVPQw==/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) at java.lang.Class.classForName(Native Method)  at java.lang.Class.forName(Class.java:454)  at java.lang.Class.forName(Class.java:379)  at androidx.startup.AppInitializer.discoverAndInitialize(AppInitializer.java:190)  at androidx.startup.InitializationProvider.onCreate(InitializationProvider.java:38)  at android.content.ContentProvider.attachInfo(ContentProvider.java:2516)  at android.content.ContentProvider.attachInfo(ContentProvider.java:2486)  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)  Suppressed: java.io.IOException: Failed to open dex files from /data/data/eu.vidavo.vida24app/code_cache/.overlay/base.apk/classes5.dex because: Failure to verify dex file '/data/data/eu.vidavo.vida24app/code_cache/.overlay/base.apk/classes5.dex': Method 38867(Lorg/webrtc/PeerConnectionFactory;.-$$Nest$smnativeCreatePeerConnectionFactory) has code, but is marked native or abstract at dalvik.system.DexFile.openDexFileNative(Native Method) at dalvik.system.DexFile.openDexFile(DexFile.java:371) at dalvik.system.DexFile.<init>(DexFile.java:113) at dalvik.system.DexFile.<init>(DexFile.java:86) at dalvik.system.DexPathList.loadDexFile(DexPathList.java:438) at dalvik.system.DexPathList.makeDexElements(DexPathList.java:387) at dalvik.system.DexPathList.<init>(DexPathList.java:166) at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:160) at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:130) at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:146) at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:106) at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:88) E/AndroidRuntime: at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:117) at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:123) at android.app.ApplicationLoaders.getClassLoaderWithSharedLibraries(ApplicationLoaders.java:60) at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:1013) at android.app.LoadedApk.getClassLoader(LoadedApk.java:1104) at android.app.LoadedApk.getResources(LoadedApk.java:1398) at android.app.ContextImpl.createAppContext(ContextImpl.java:3191) at android.app.ContextImpl.createAppContext(ContextImpl.java:3183) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7581) ... 9 more

@TetrixGauss
Copy link
Author

TetrixGauss commented Apr 20, 2023

@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?

@saghul
Copy link
Member

saghul commented Apr 21, 2023

Are you not using JitsiMeetActivity directly?

@TetrixGauss
Copy link
Author

What do you mean directly? I have written the example from the guide of android sdk

@saghul
Copy link
Member

saghul commented Apr 21, 2023

So how are you launching the JitsiMeetActivity ?

@USAMAWIZARD
Copy link

✓ Built build/app/outputs/flutter-apk/app-debug.apk.
I/flutter_example( 4839): Late-enabling -Xcheck:jni
W/flutter_example( 4839): Unexpected CPU variant for x86: x86_64.
W/flutter_example( 4839): Known variants: atom, sandybridge, silvermont, kabylake, default
W/flutter_example( 4839): Failure to verify dex file '/data/app/~~Z1zAACpb1KSXs2cApMD-8Q==/com.example.ant_media_flutter_example-2S71JkCD7QRjX0ertrhTxA==/base.apk': Method 48288(Lorg/webrtc/PeerConnectionFactory;.-$$Nest$smnativeCreatePeerConnectionFactory) has code, but is marked native or abstract

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants