Closed flean closed 4 years ago
Hey @flean do you use https://github.com/dpa99c/cordova-android-support-gradle-release ? we use this to help manage version conflicts, which i think os the main cause of your problems?
Hey @flean do you use https://github.com/dpa99c/cordova-android-support-gradle-release ? we use this to help manage version conflicts, which i think os the main cause of your problems?
@IllusionVK , I'll try this today. Really hoping this works, I've been struggling with this for over a week. I'll report back and thanks.
If anyone has issues I solved it by adding this
cordova-plugin-androidx@1.0.2
cordova-plugin-androidx-adapter@1.1.0
Not sure if you can help but really looking for help to solve this issue.
I had to tweak some things for iOS and now it works without issues but android I can't get it to run.
I'm not an expert in Cordova plugins and this seems like a settings issue of some sort.
I put this in my jitsiplugin.gradle
To remove this error
Dependency resolved to an incompatible version: Dependency(fromArtifactVersion=ArtifactVersion(groupId=com.google.android.gms, artifactId=play-services-stats, version=15.0.1), toArtifact=Artifact(groupId=com.google.android.gms, artifactId=play-services-basement), toArtifactVersionString=[15.0.1])
FAILURE: Build failed with an exception.
What went wrong: Failed to capture fingerprint of input files for task ':app:preDebugBuild' property 'compileManifests' during up-to-date check.
Dependency failing: com.google.android.gms:play-services-stats:15.0.1 -> com.google.android.gms:play-services-basement@[ 15.0.1], but play-services-basement version was 17.0.0.
The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art ifact with the issue. -- Project 'app' depends onto com.google.android.gms:play-services-tasks@17.0.0 -- Project 'app' depends onto com.google.android.gms:play-services-auth-api-phone@17.0.0 -- Project 'app' depends onto com.google.firebase:firebase-common@16.0.0 -- Project 'app' depends onto com.google.android.gms:play-services-base@17.0.0 -- Project 'app' depends onto com.google.firebase:firebase-measurement-connector@16.0.0 -- Project 'app' depends onto com.facebook.react:react-native-google-signin@3.0.1-jitsi-3882926 -- Project 'app' depends onto com.google.firebase:firebase-iid@16.0.0 -- Project 'app' depends onto com.google.android.gms:play-services-auth@17.0.0 -- Project 'app' depends onto org.jitsi.react:jitsi-meet-sdk@2.7.0 -- Project 'app' depends onto com.google.firebase:firebase-iid-interop@16.0.0 -- Project 'app' depends onto org.jitsi.react:jitsi-meet-sdk@2.+ -- Project 'app' depends onto com.google.firebase:firebase-messaging@17.0.+ -- Project 'app' depends onto com.google.android.gms:play-services-basement@17.0.0 -- Project 'app' depends onto com.google.android.gms:play-services-stats@15.0.1 -- Project 'app' depends onto com.google.firebase:firebase-messaging@17.0.0 -- Project 'app' depends onto com.google.android.gms:play-services-auth-base@17.0.0
For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https:// github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your b uild.gradle file.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org Now I get this error
Program type already present: android.support.v4.media.MediaBrowserCompat$ConnectionCallback$StubApi21 How do I fix this?
Here is the complete jitsiplugin.gradle