Closed vadym-mytrenko-923 closed 6 months ago
Do you have the jitpack maven repo enabled?
Yes, we have.
Hum that's odd, that's where RN publishes their builds now...
Is some specific gradle/java version required for Jitsi SDK 9.0.0? Or maybe it's required to add some data to the gradle files?
The odd is that the debug builds are compiling well while release are not
Not really...
Can you please check if the sample app with Jitsi 9.0.0 is building signed build correctly? If yes, can you please share Gradle files and versions to compare with our app and find the discrepancy? Thank you in advance.
After a long investigation, found that it's not a Jitsi problem. We have 5 different named build types, but only debug and release were building. So moved build types to product flavors and all works well. Sorry :)
No worries, good to hear!
Hello, @vadym-mytrenko-923! Can you show an example of what ultimately needs to be done to make it work?
I'm facing a similar problem:
Hello, I am also facing same issue with version 9.2.1.
Could not determine the dependencies of task ':sdkApp:compileDebugKotlin'.
> Could not resolve all files for configuration ':sdkApp:developmentRuntimeClasspath'.
> Could not resolve com.facebook.react:react-android:0.72.9.
Required by:
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-amplitude:2.7.0-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-giphy:2.3.0-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-google-signin:10.1.0-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-async-storage:1.19.4-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-background-timer:2.4.1-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-calendar-events:2.2.0-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-community_clipboard:1.5.1-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-community_netinfo:11.1.0-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-default-preference:1.4.4-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-device-info:10.9.0-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-gesture-handler:2.9.0-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-get-random-values:1.9.0-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-immersive-mode:2.0.1-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-keep-awake:4.0.0-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-orientation-locker:1.6.0-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-pager-view:6.2.0-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-performance:5.0.0-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-safe-area-context:4.7.1-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-screens:3.24.0-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-slider:4.4.3-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-sound:0.11.2-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-splash-screen:3.3.0-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-svg:13.13.0-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-video:6.0.0-alpha.11-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-webrtc:118.0.6-jitsi-17110821
project :sdkApp > org.jitsi.react:jitsi-meet-sdk:9.2.1 > com.facebook.react:react-native-webview:13.5.1-jitsi-17110821
> No matching variant of com.facebook.react:react-android:0.72.9 was found. The consumer was configured to find a runtime of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'development', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- Variant 'debugVariantDefaultApiPublication' capability com.facebook.react:react-android:0.72.9:
- Incompatible because this component declares an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' and the consumer needed a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'development'
- Other compatible attributes:
- 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.72.9 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 'development'
- Other compatible attributes:
- 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.72.9 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 'development'
- Other compatible attributes:
- 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.72.9:
- Incompatible because this component declares an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release' and the consumer needed a runtime of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'development'
- Other compatible attributes:
- 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.72.9 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 'development'
- Other compatible attributes:
- 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.72.9 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 'development'
- Other compatible attributes:
- 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')``
Hi! After we migrated to Jitsi SDK 9.0.0 version, we couldn't build the production (signed) version of the app. The debug builds work well.
Stack trace from build process error: `* What went wrong: Execution failed for task ':app:mergeQaNativeLibs'.
Gradle version 8.0.0, Gradle Plugin version 8.1.1 (also reproducible for 7.4.2). Java 8, 11, 17 -- no matter which version is set.
Can't find the solution to build correctly, please help.