-
Notifications
You must be signed in to change notification settings - Fork 48
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
FAILURE: Build failed with an exception when using "cordova-plugin-twilio-video" in Ionic 3 #13
Comments
Any update on this issue? |
@Malini-creator You found a solution? |
any updates? |
I had similar issue on ionic 5, tried these 2 plugins and then it worked - add plugin to enable AndroidX in the projectcordova plugin add cordova-plugin-androidx add plugin to patch existing plugin source that uses the Android Support Library to use AndroidXcordova plugin add cordova-plugin-androidx-adapter You can try adding these and check. |
It seems that some plugin or native dependency brings some AndroidX dependency to your project and this plugin is not directly compatible with AndroidX. You must migrate the plugin code to AndroidX. Doing what @neerajsaxena0711 says here if you are working in a Cordova project: #13 (comment) Or using Jetifier if you are using this plugin in a Capacitor project: |
Hi,
I want to implement the video call functionality in my ionic project. I'm trying to use cordova-plugin-twilio-video (https://github.com/okode/cordova-plugin-twilio-video) in Ionic 3. I'm facing issue when running the android build. Provided project has been created using capacitor. How can I use this in cordova?
Below is the error I'm getting when running the build
D8: Program type already present: android.support.design.widget.CoordinatorLayout$Behavior
FAILURE: Build failed with an exception.
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
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
BUILD FAILED in 1m 13s
FAILURE: Build failed with an exception.
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
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
BUILD FAILED in 1m 13s
[ERROR] An error occurred while running subprocess cordova.
The text was updated successfully, but these errors were encountered: