title: Update Google Play services from 8.x.x to 9.x.x
body: <p>I have a working Android app using:</p>
  
  <ul>
  <li>Google Maps (play-services-maps)</li>
  <li>Google Location, Activity Recognition, and Places (play-services-location)</li>
  <li>Google Analytics (play-services-analytics)</li>
  <li>Google Mobile Ads (play-services-ads)</li>
  </ul>
  
  <p>I'm currently using version 8.3.0, everything works fine. I'd like to upgrade to the last version, 9.2.0. When I change the number in the gradle files, Android Studio is unable to find the APIs packages &amp; classes (saying "package XXX does not exist" and "Cannot find symbol class YYY").</p>
  
  <p>I currently have no google-services.json file, do I need it now? I tried without success, probably because I have several modules / submodules, and I don't know where the json file is needed or not.</p>
  
  <p>The problem is that I need a package name to create the JSON file, and I have some library modules, without package name, using Google APIs.</p>
  
  <p>If needed, here is the project structure:</p>
  
  <p><a href="https://i.stack.imgur.com/tIPyO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tIPyO.png" alt="enter image description here"></a></p>