App fails licensing test on Android Cloud Test Lab

Hello,

Google recently released “Cloud Test Lab” on the developer console that allows you to test your app in a lot of devices. 

In all the devices tested, my app failed and the same exception is reported:

FATAL EXCEPTION: background thread Process: com.squadventure.MyAppName, PID: 11292 java.lang.NullPointerException     at com.google.android.vending.licensing.LicenseValidator.verify(LicenseValidator.java:97)     at com.google.android.vending.licensing.LicenseChecker$ResultListener$2.run(LicenseChecker.java:229)     at android.os.Handler.handleCallback(Handler.java:733)     at android.os.Handler.dispatchMessage(Handler.java:95)     at android.os.Looper.loop(Looper.java:136)     at android.os.HandlerThread.run(HandlerThread.java:61)

I’ve confirmed that I have set the correct key for my app in the config.lua file. Any idea what’s going on?

 

 

Thanks,

George

 

Any ideas??

Hi Squadventure Games,

According to this StackOverflow post, the issue occurs if there’s no Google Play app installed on the testing device, or (the likely scenario you’re hitting by using Google’s Cloud Test Lab), there’s no registered test account on the device.

You can probably continue using Google’s Cloud Test Lab by removing the licensing code from your app, but considering that the Cloud Test Lab is still in beta, hopefully Google will address this soon.

Thank you Ajay. Just glad it isn’t a problem at my end. Hopefully they fix that soon.

Any ideas??

Hi Squadventure Games,

According to this StackOverflow post, the issue occurs if there’s no Google Play app installed on the testing device, or (the likely scenario you’re hitting by using Google’s Cloud Test Lab), there’s no registered test account on the device.

You can probably continue using Google’s Cloud Test Lab by removing the licensing code from your app, but considering that the Cloud Test Lab is still in beta, hopefully Google will address this soon.

Thank you Ajay. Just glad it isn’t a problem at my end. Hopefully they fix that soon.