-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Hi!
I'm having trouble integrating the DA SDK into my prototype Android app. Anytime the app starts up it crashes when DA initialises at DigitalAnalytics.startup(). The reason for that, I found out are jacoco instrumented class files, this case DigitalAnalytics.class, probably here ln407-408:
public static Boolean startup(Application application) { boolean[] var1 = $jacocoInit(); ...
When using an older version (commit 0fb3cca) the application starts up and it all works like charm - as there are no jacoco instrumentations there.
Is it possible to provide a class file without jacoco instrumentation or could you help me resolve this issue?
Following exception raised:
E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.myapplication, PID: 25632 java.lang.NoClassDefFoundError: Failed resolution of: Lorg/jacoco/agent/rt/internal_8ff85ea/Offline; at com.digitalanalytics.api.DigitalAnalytics.$jacocoInit(Unknown Source:13) at com.digitalanalytics.api.DigitalAnalytics.startup(Unknown Source:2) at com.example.phonicdroid.MainActivity.onCreate(MainActivity.java:44) at android.app.Activity.performCreate(Activity.java:7802) at android.app.Activity.performCreate(Activity.java:7791) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1299) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:214) at android.app.ActivityThread.main(ActivityThread.java:7356) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930) Caused by: java.lang.ClassNotFoundException: Didn't find class "org.jacoco.agent.rt.internal_8ff85ea.Offline" on path: DexPathList[[zip file "/data/app/com.example.myapplication-bpYrXGZbb6L74iWPH1fVsQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.myapplication-bpYrXGZbb6L74iWPH1fVsQ==/lib/x86, /system/lib, /system/product/lib]] )
Best