My /build.gradle
file:
....
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:support-v4:21.0.0-rc1'
compile 'com.google.apis:google-api-services-analytics:v3-rev99-1.19.0'
}
And a source file:
import com.google.analytics.tracking.android.EasyTracker
where analitics is highlighted in red. Why isn't it found?
Try with the following instead:
compile 'com.google.android.gms:play-services:5.0.77'
Assuming you are trying to use V4. See https://developers.google.com/analytics/devguides/collection/android/v4/
Follow Before you begin section.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.