SalesIQ SDK for React native error on building
Hello there,
I want to intergrade SalesIQ to my react native application, the installation guide very clean and I am following these step fine. But unfortunately I got an error on building:
D:\MY_APP\node_modules\react-native-momosdk\android\build\intermediates\runtime_library_classes_jar\debug\classes.jar: D8: Type com.reactlibrary.BuildConfig is defined multiple times: D:\MY_APP\node_modules\react-native-momosdk\android\build\intermediates\runtime_library_classes_jar\debug\classes.jar:com/reactlibrary/BuildConfig.class, D:\MY_APP\node_modules\react-native-zohosalesiq-mobilisten\android\build\intermediates\runtime_library_classes_jar\debug\classes.jar:com/reactlibrary/BuildConfig.class
FAILURE: Build failed with an exception.
Execution failed for task ':app:multiDexListDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Error while merging dex archives:
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Type com.reactlibrary.BuildConfig is defined multiple times: D:\MY_APP\node_modules\react-native-momosdk\android\build\intermediates\runtime_library_classes_jar\debug\classes.jar:com/reactlibrary/BuildConfig.class, D:\MY_APP\node_modules\react-native-zohosalesiq-mobilisten\android\build\intermediates\runtime_library_classes_jar\debug\classes.jar:com/reactlibrary/BuildConfig.class
The error for "Type com.reactlibrary.BuildConfig is defined multiple times" due to your package name very generic, here I found from AndroidManifest.xml file.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.reactlibrary">
</manifest>
So, for reduce the error, can you please rename your package to your name like: com.zoho.saleIQ...
If will be great if I resolve the issue by install new update for SaleIQ SDK.
Thank you.
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.