Crash because of license verification

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:739)

 

at android.os.Handler.dispatchMessage (Handler.java:95)

 

at android.os.Looper.loop (Looper.java:135)

 

at android.os.HandlerThread.run (HandlerThread.java:61)

I am getting this crash report from several phones, I could not recreate this error in any of my tests. Does anyone knows the solution or something causing this. 

I have been through the post that says it is due to people not having google play services, but I am getting this from android 5 and 6. I believe google play services comes along as stock app in these android versions. 

I have tried disabling play services in my phone, but it just crashed my whole phone.

We’re getting this too.

I’m asking Engineering if they see a reason why that would NPE.  Having a demo project that fails would be helpful.

Rob

We had this issue before. It seems it is caused by devices not having Google Play Store installed: https://forums.coronalabs.com/topic/62515-app-fails-licensing-test-on-android-cloud-test-lab/?p=325468

Hello everyone. I could not recreate that error in my own phone or other phones from my friends. I also used some phone without google play games. But in those phones I used had no errors. It simply asked to install the play games services first. There were no crashing.

I also tried to disable play games, but it simply says to download no crashes. 

There is a difference between “Google Play” and “Google Play Games”.  Google Play is the store for Google. You can buy music, videos, etc. as well as apps.  But I would think that would have to be installed before you could use Google Play Games anyway.

If you’re not seeing this happen on any Android device in your control, maybe you’re seeing it happen on jailbroken devices.

Rob

FYI we posted a proper full error set which include lots of these errors here - might be more info then you desired but…

https://forums.coronalabs.com/topic/72163-errors-corona-core-google-services-multiple-crashes-and-anrs-base-apk-signals-executing-services-resource-exception-gpgs/

Thanks

Has there been any update on this? I’m getting the same error as Kieran.

Does your device have the Google Play app installed? 

Is it a rooted/jailbroken device?

Rob

I actually got the error from the Prelaunch report on Google Play.

My phone is not rooted one but i guess rooted phone’s are getting this crash. Not so sure but i have gave up in this error or crash. I get few of these crash everyday.

We’re getting this too.

I’m asking Engineering if they see a reason why that would NPE.  Having a demo project that fails would be helpful.

Rob

We had this issue before. It seems it is caused by devices not having Google Play Store installed: https://forums.coronalabs.com/topic/62515-app-fails-licensing-test-on-android-cloud-test-lab/?p=325468

Hello everyone. I could not recreate that error in my own phone or other phones from my friends. I also used some phone without google play games. But in those phones I used had no errors. It simply asked to install the play games services first. There were no crashing.

I also tried to disable play games, but it simply says to download no crashes. 

There is a difference between “Google Play” and “Google Play Games”.  Google Play is the store for Google. You can buy music, videos, etc. as well as apps.  But I would think that would have to be installed before you could use Google Play Games anyway.

If you’re not seeing this happen on any Android device in your control, maybe you’re seeing it happen on jailbroken devices.

Rob

FYI we posted a proper full error set which include lots of these errors here - might be more info then you desired but…

https://forums.coronalabs.com/topic/72163-errors-corona-core-google-services-multiple-crashes-and-anrs-base-apk-signals-executing-services-resource-exception-gpgs/

Thanks

Has there been any update on this? I’m getting the same error as Kieran.

Does your device have the Google Play app installed? 

Is it a rooted/jailbroken device?

Rob

I actually got the error from the Prelaunch report on Google Play.