google Analytics V4 cannot be imported?
android, eclipse, google-analytics
Solution
Finally found the solution ..
`Google Analytics V4` has no SDK , its depends on `Google Play Services SDK`
So here is what i did :
- download `Google Play Services SDK` from Android SDK
- go to Android SDK folder on you PC partition
- Follow this path `(/extras/google/google_play_services/libproject/ )`
- you'll find this folder ( `google-play-services_lib` ) <- thats what we need
- now go to Eclipse and import this Project ( `google-play-services_lib` ) as Library
- right click on your project Properties -> Android -> Second Tab ( Library ) Click `Add` and select `google-play-services_lib`
Now you've done you can use `Google Analytics V4` with no problems at all
The Idea is you need to download and import `Google Play Services` to Eclipse then add the library to your project .
enjoy coding ..
Problem
I'am trying to add `Google Analytics` to my application I've followed every step at this page https://developers.google.com/analytics/devguides/collection/android/v4/#tracking-methods the issue is `Eclipse` not recognized `Tracker` and `GoogleAnalytics` the `Google play service` and every thing are installed from `SDK` I've tried to search for `V4 Analytics SDK` i could't find it i don't know if i mess something here any advice ?