title: can't import google cloud message service on android studio os x
body: <p>I'm stuck in android studio; I'm iOS developer new to Android. I'm trying to do a simple webView app with push notifications. </p>
  
  <p>As you can see in my mainActivity.java the import statement is in gray and the <code>checkPlayServices()</code> is in red. I've done all the steps in the [official tutorial] and I have installed everything you can install (35GB) from the SDK manager. I've also checked if the SDK directory were correct. Here are screenshots of the mainActivity, manifest file, build.grapple and activity_main.xml. </p>
  
  <p><a href="https://developer.android.com/google/play-services/setup.html" rel="nofollow noreferrer">1</a>
  <img src="https://i.stack.imgur.com/WNfgr.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/YAvTN.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/tfeE0.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/5vvOR.png" alt="enter image description here"></p>