title: Lollipop 5.0 Sample License Checker App crashes on Emulator (AVD)
body: <p>When running the the sample license check app provided by Google in sdk/extras/google/play_licensing it crashes on the Emulator(AVD) running Lollipop (5.0) (I don't have a phone running 5.0). It works fine on Phone running Kitkat. </p>
  
  <p>On 4.4 Kitkat it gives a warning the </p>
  
  <pre><code>Implicit intents with startService are not safe: Intent { act=com.android.vending.licensing.ILicensingService } 
  
  android.content.ContextWrapper.bindService:538 com.google.android.vending.licensing.LicenseChecker.checkAccess:150 LicActivity.doCheck:126 
  </code></pre>
  
  <p>I am not sure 5.0 they have moved it from a warning to full blown error. </p>
  
  <p>I don't know how to convert the implicit intent call to an explicit one. 
  It's being called in the LicenceChecker class</p>
  
  <pre><code>   boolean bindResult = mContext
                              .bindService(
                                      new Intent(
                                              new String(
                                                 Base64.decode("HEX_TEXT"))),
                                      this, // ServiceConnection.
                                      Context.BIND_AUTO_CREATE);
  </code></pre>
  
  <p>BASE 64 decodes into com.android.vending.licensing.ILicensingService</p>
  
  <p>I just receive an error message <strong>Unfortunately, licence checker has stopped.</strong> in a dialog box. </p>
  
  <p>It is showing this message in logcat</p>
  
  <pre><code>java.lang.RuntimeException: Unable to instantiate application com.android.vending.VendingApplication: java.lang.ClassNotFoundException:
  
   Didn't find class "com.android.vending.VendingApplication" on path: DexPathList[[zip file "/system/app/LicenseChecker/LicenseChecker.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
  </code></pre>
  
  <p>It's been reported a while back but still no solution</p>
  
  <p><a href="http://code.google.com/p/android/issues/detail?id=61680" rel="nofollow">http://code.google.com/p/android/issues/detail?id=61680</a></p>