0

I am attempting to build and run an android google cast example. I can't seem to figure out which jar these import are located in.

import com.google.android.gms.cast.ApplicationMetadata;
import com.google.android.gms.cast.Cast;
import com.google.android.gms.cast.Cast.ApplicationConnectionResult;
import com.google.android.gms.cast.CastDevice;
import com.google.android.gms.cast.CastMediaControlIntent;
import com.google.android.gms.common.api.ResultCallback;
Fabii
  • 3,820
  • 14
  • 51
  • 92
  • This would help http://stackoverflow.com/questions/15990075/the-import-com-google-android-gms-cannot-be-resolved – kAnNaN Feb 11 '14 at 22:19

2 Answers2

2

these are part of Google Play Services library, you should download the latest one with the Android SDK Manager in ADT Tools

edit: they will be available in revision 15

CQM
  • 42,592
  • 75
  • 224
  • 366
  • I download the google play services library and added the google-play-services.jar to my build path , problem still persists and I don't see any other jars within that folder. Also I downloaded it using the android sdk manager. – Fabii Feb 11 '14 at 21:49
  • @Fabii "These APIs are currently not available for development. They require Google Play services 4.2, which began rolling out to devices worldwide on February 3rd. Once the update to devices is complete, the corresponding Google Play services library (revision 15) will be available for you to begin using these APIs." https://developers.google.com/cast/android/reference/com/google/android/gms/cast/package-summary – CQM Feb 11 '14 at 22:01
2

Google Play Services, revision 15 is available now.

enter image description here

vkadam
  • 211
  • 2
  • 6