Closed divassahu closed 2 months ago
IS this a simulatyor or a physical device? Can you reproeuce it reliably? Does it also happen with the sample app?
@saghul I also have this same issue and when i try to run the app on profile mode on my device it shows this error
FAILURE: Build failed with an exception.
Could not resolve all files for configuration ':jitsi_meet_flutter_sdk:profileCompileClasspath'. Could not resolve com.facebook.react:react-android:0.73.8. Required by: project :jitsi_meet_flutter_sdk > org.jitsi.react:jitsi-meet-sdk:10.1.2 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-amplitude:2.17.3-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-giphy:2.3.0-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-google-signin:10.1.0-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-async-storage:1.23.1-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-background-timer:2.4.1-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-calendar-events:2.2.0-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-community_clipboard:1.14.1-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-community_netinfo:11.1.0-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-default-preference:1.4.4-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-device-info:10.9.0-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-gesture-handler:2.18.1-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-get-random-values:1.9.0-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-immersive-mode:2.0.2-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-keep-awake:4.0.0-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-orientation-locker:1.6.0-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-pager-view:6.2.0-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-performance:5.0.0-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-safe-area-context:4.10.8-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-screens:3.32.0-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-slider:4.4.3-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-sound:0.11.2-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-splash-screen:3.3.0-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-svg:13.13.0-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-video:6.0.0-alpha.11-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-webrtc:124.0.4-jitsi-17848034 project :jitsi_meet_flutter_sdk > com.facebook.react:react-native-webview:13.8.7-jitsi-17848034 No matching variant of com.facebook.react:react-android:0.73.8 was found. The consumer was configured to find an API of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.3.0', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- Variant 'debugVariantDefaultApiPublication' capability com.facebook.react:react-android:0.73.8 declares an API of a component:
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile'
- Other compatible attributes:
- Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.3.0')
- Doesn't say anything about its target Java environment (preferred optimized for Android)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
- Variant 'debugVariantDefaultRuntimePublication' capability com.facebook.react:react-android:0.73.8 declares a runtime of a component:
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile'
- Other compatible attributes:
- Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.3.0')
- Doesn't say anything about its target Java environment (preferred optimized for Android)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
- Variant 'debugVariantDefaultSourcePublication' capability com.facebook.react:react-android:0.73.8 declares a runtime of a component:
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile'
- Other compatible attributes:
- Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.3.0')
- Doesn't say anything about its target Java environment (preferred optimized for Android)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
- Variant 'releaseVariantDefaultApiPublication' capability com.facebook.react:react-android:0.73.8 declares an API of a component:
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile'
- Other compatible attributes:
- Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.3.0')
- Doesn't say anything about its target Java environment (preferred optimized for Android)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
- Variant 'releaseVariantDefaultRuntimePublication' capability com.facebook.react:react-android:0.73.8 declares a runtime of a component:
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile'
- Other compatible attributes:
- Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.3.0')
- Doesn't say anything about its target Java environment (preferred optimized for Android)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
- Variant 'releaseVariantDefaultSourcePublication' capability com.facebook.react:react-android:0.73.8 declares a runtime of a component:
- Incompatible because this component declares a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release' and the consumer needed a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'profile'
- Other compatible attributes:
- Doesn't say anything about com.android.build.api.attributes.AgpVersionAttr (required '7.3.0')
- Doesn't say anything about its target Java environment (preferred optimized for Android)
- Doesn't say anything about org.jetbrains.kotlin.platform.type (required 'androidJvm')
I have no experience running in profile mode, sorry.
I tried using this proguard rules for Android and its working for me with the latest version.
I am experiencing a crash when opening Jitsi Meet in my application after releasing it. The crash seems to be related to the WebRTC module, and I have provided a backtrace below. This issue occurs specifically after the application has been released; it works fine in the development environment.
Steps to Reproduce:
Integrate Jitsi Meet in the Flutter application.
Build and release the app.
Open Jitsi Meet in the released app.
Expected Behavior: Jitsi Meet should open without any crashes or issues.
Actual Behavior: The app crashes immediately upon opening Jitsi Meet.
Backtrace:
backtrace:
00 pc 0x0000000000053324 /apex/com.android.runtime/lib64/bionic/libc.so (abort+180)
01 pc 0x000000000048f0d0 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/split_config.arm64_v8a.apk!libjingle_peerconnection_so.so (BuildId: c3f38365fb86f33a)
02 pc 0x000000000048f764 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/split_config.arm64_v8a.apk!libjingle_peerconnection_so.so (BuildId: c3f38365fb86f33a)
03 pc 0x000000000047ebfc /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/split_config.arm64_v8a.apk!libjingle_peerconnection_so.so (BuildId: c3f38365fb86f33a)
04 pc 0x000000000047b840 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/split_config.arm64_v8a.apk!libjingle_peerconnection_so.so (BuildId: c3f38365fb86f33a)
05 pc 0x00000000002a45b8 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/split_config.arm64_v8a.apk!libjingle_peerconnection_so.so (JNI_OnLoad+40) (BuildId: c3f38365fb86f33a)
06 pc 0x000000000051a1c0 /apex/com.android.art/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv, std::1::basic_string<char, std::__1::char_traits, std:: 1::allocator > const&, _jobject , _jclass, std::1::basic_string<char, std::__1::char_traits, std:: 1::allocator > )+1872)
07 pc 0x00000000000051c0 /apex/com.android.art/lib64/libopenjdkjvm.so (JVM_NativeLoad+412)
08 pc 0x000000000038595c /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+156)
09 pc 0x000000000044c0b8 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.lang.Runtime.loadLibrary0+328)
10 pc 0x000000000044d2c0 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.lang.Runtime.loadLibrary0+368)
11 pc 0x0000000000450cfc /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.lang.System.loadLibrary+92)
12 pc 0x00000000005b8098 /apex/com.android.art/lib64/libart.so (nterp_helper+152)
13 pc 0x0000000000867300 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.oney.WebRTCModule.k.a+44)
14 pc 0x000000000033a7a4 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612)
15 pc 0x0000000000510a3c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const, unsigned short, bool, art::JValue)+1976)
16 pc 0x0000000000491368 /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp(art::interpreter::SwitchImplContext*)+4772)
17 pc 0x00000000003539d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8)
18 pc 0x000000000097d204 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (org.webrtc.n1.b)
19 pc 0x000000000036daec /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.18012138979834229341)+232)
20 pc 0x0000000000511708 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const, unsigned short, bool, art::JValue)+5252)
21 pc 0x0000000000490828 /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp(art::interpreter::SwitchImplContext*)+1892)
22 pc 0x00000000003539d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8)
23 pc 0x000000000097ed74 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (org.webrtc.PeerConnectionFactory.q)
24 pc 0x000000000036daec /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.18012138979834229341)+232)
25 pc 0x000000000036d3e4 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+964)
26 pc 0x0000000000351368 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88)
27 pc 0x00000000005b8098 /apex/com.android.art/lib64/libart.so (nterp_helper+152)
28 pc 0x000000000086b44c /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.oney.WebRTCModule.WebRTCModule.+116)
29 pc 0x00000000005b8f54 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
30 pc 0x0000000000869e96 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.oney.WebRTCModule.o1.createNativeModules+10)
31 pc 0x00000000005b9d74 /apex/com.android.art/lib64/libart.so (nterp_helper+7540)
32 pc 0x000000000027c522 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.facebook.react.f0.a+82)
33 pc 0x00000000005b8034 /apex/com.android.art/lib64/libart.so (nterp_helper+52)
34 pc 0x0000000000279eb0 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.facebook.react.j.b+60)
35 pc 0x00000000005b8f54 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
36 pc 0x000000000027beae /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.facebook.react.a0.c0+70)
37 pc 0x00000000005b8f54 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
38 pc 0x000000000027ab94 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.facebook.react.a0.d0+108)
39 pc 0x00000000005b8f54 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
40 pc 0x000000000027ac88 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.facebook.react.a0.u+72)
41 pc 0x00000000005b8f54 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
42 pc 0x000000000027b8b4 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.facebook.react.a0.K+96)
43 pc 0x00000000005b8f54 /apex/com.android.art/lib64/libart.so (nterp_helper+3924)
44 pc 0x000000000027b17c /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.facebook.react.a0.b)
45 pc 0x00000000005b8034 /apex/com.android.art/lib64/libart.so (nterp_helper+52)
46 pc 0x000000000027a3d0 /data/app/~~ls0AyVDFsrc_990NUe1byQ==/bharat.amarkosh.learn-7HxZQQTjnErESQH8maxZvg==/oat/arm64/base.vdex (com.facebook.react.x.run+8)
47 pc 0x0000000000502368 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.lang.Thread.run+72)
48 pc 0x000000000033a7a4 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612)
49 pc 0x000000000023a01c /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue, char const)+144)
50 pc 0x0000000000539108 /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1600)
51 pc 0x00000000000c1e70 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208)
52 pc 0x0000000000054b50 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)