I am trying to get libGoogleAnalyticsV2.jar imported into my project in Android Studio. First I added it using the project structure, which corrected any red lines when trying to use EasyTracker. But when I compiled it, it led to errors and build failure.
Gradle: package com.google.analytics.tracking.android does not exist Gradle: cannot find symbol variable EasyTracker Gradle: cannot find symbol variable EasyTracker
I use lib as follows:
EasyTracker.getInstance().activityStart(this);
What can I do to make this work? Thanks
source share