Open furflez opened 6 years ago
@furflez Have you found a way to solve this issue?
@glocci for now i'm using an older version (1.3.0) 'com.orhanobut.tracklytics:tracklytics-plugin:1.3.0'
. Many things changed on version (2.0.0) so I reccomend see this old version of readme.md
Let me check the issue. Could you give me more details about environment?
etc
@orhanobut HI! no, I'm using Java and the latest Android Studio. I think that there might be some conflicts with multidex.
@orhanobut same as @glocci here
It seems that the issue is related to gradle plugin 3.1
Could you confirm that if Tracklytics triggers event on previous gradle plugin versions e.g. 3.0.1
?
Could you confirm that if Tracklytics triggers event on previous gradle plugin versions e.g. 3.0.1?
I can confirm. Tracklytics triggers event on gradle plugin versions 3.0.1, but it doesn't work with the latest version (3.1.2)
Could you confirm that if Tracklytics triggers event on previous gradle plugin versions e.g. 3.0.1?
@orhanobut Doesn't working on gradle version 3.1.4
. but working on 3.0.1
What can be done to make it work? I really like and need this on my project.
Add
buildscript { ext.kotlin_version = '1.3.41' repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.4.2' classpath 'com.orhanobut.tracklytics:tracklytics-plugin:2.1.0' classpath 'com.hujiang.aspectjx:gradle-android-plugin-aspectjx:2.0.4' } }
in root-level build.gradle and apply plugin:
apply plugin: 'com.android.application' apply plugin: 'com.orhanobut.tracklytics' apply plugin: 'android-aspectjx'
in app-level build.gradle. Works for both Gradle version 3.4.2 and Tracklytics version 2.1.0.
I've followed the sample code, and downloaded it too, but
onEventTracked
is never called. The way I found it to work is to usetracklytics.trackEvent (String eventName, Map Attributes)
, but did not want to do it that way.