You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Diptiranjan sutar <dr...@gmail.com> on 2022/05/20 09:39:34 UTC
Facing File conflict while Integrating Cordova SDK in Android Native
Hi Team,
I am Cordova Developer.
I am facing issues while integrating 2 or more Cordova Android Library SDK
in Android Application.
Issues i am facing are as follows:-
1. Type org.apache.cordova.device.Device is defined multiple times:
D:\lastestProd\Bajaj_3in1_SuperApp\app\build\intermediates\module_and_runtime_deps_classes\CUG\base.jar:org/apache/cordova/device/Device.class,
D:\lastestProd\Bajaj_3in1_SuperApp\RBL\build\intermediates\module_and_runtime_deps_classes\CUG\feature-RBL.jar:org/apache/cordova/device/Device.class
2. Execution failed for task ':app:packageCUGBundle'. > A failure
occurred while executing com.android.build.gradle.internal.tasks.
PackageBundleTask$BundleToolWorkAction
3. > Modules 'base' and 'RBL' contain entry 'assets/www/cordova.js' with
different content.
Execution failed for task ':app:packageDebugBundle'.
1.
> A failure occurred while executing
com.android.build.gradle.internal.tasks.PackageBundleTask$BundleToolWorkAction
> Modules 'base' and 'DBS' contain entry 'assets/www/cordova_plugins.js'
with different content.
Please help me to resolve this issue.
Thanks
Diptiranjan Sutar