microsoft / clarity-apps

Repo for distributing Clarity Apps packages
MIT License
37 stars 2 forks source link

Execution failed for task ':app:checkDebugDuplicateClasses'. #6

Closed vikasatappinlay closed 1 year ago

vikasatappinlay commented 1 year ago

npm install react-native-clarity

import { initialize } from 'react-native-clarity';

// Initialize Clarity. initialize("xxxxxx");

then i rebuild the project:-

Task :app:mergeDebugNativeLibs FAILED w: Detected multiple Kotlin daemon sessions at build/kotlin/sessions

FAILURE: Build completed with 3 failures.

1: Task failed with an exception.

vikasatappinlay commented 1 year ago

added to android/gradle.properties

android.jetifier.blacklist = com.squareup.moshi

and the project build success.

but online user count not showing.

logcat from android studio

I/WM-WorkerWrapper: Worker result SUCCESS for Work [ id=89e9fd97-1052-4acc-ad28-85ee889bb41b, tags={ ReportExceptionWorker, ReportExceptionWorker_Parsing, ENQUEUED_AT_1683787644786, com.microsoft.clarity.workers.ReportExceptionWorker } ] I/WM-WorkerWrapper: Worker result SUCCESS for Work [ id=107a024a-33be-47b2-b214-21315fd40201, tags={ ReportExceptionWorker, ReportExceptionWorker_Parsing, ENQUEUED_AT_1683787644802, com.microsoft.clarity.workers.ReportExceptionWorker } ] I/anpiper.meatigo: Background concurrent copying GC freed 472077(15MB) AllocSpace objects, 45(13MB) LOS objects, 42% free, 32MB/56MB, paused 654us,990us total 327.405ms W/System: A resource failed to call end. W/System: A resource failed to call end. W/System: A resource failed to call end. W/System: A resource failed to call end.

ibradwan commented 1 year ago

Hi Vikas,

Thank you for reporting this issue. We are currently working on removing the Moshi dependencies and this should be released soon, so please stay tuned.

Now regarding that there are no sessions on your dashboard, it would be very helpful to provide us with:

Please send these details to (clarity-apps-support@microsoft.com) and we will get back to you with what we find.

nouranmaher86 commented 1 year ago

Hello- The new SDK version addressing the moshi dependency has been released today. Can you please upgrade and give it a try? Let us know your feedback please!

ibradwan commented 1 year ago

Closing as the issue should be fixed.