This code is from a mature application with many previously successful deployments.
When executing a licence check on a **Lollipop** device......
The program halts at lc.CheckAccess with:
java.lang.IllegalArgumentException: Service Intent must be explicit: Intent {act=com.android.vending.licensing.llicensingService}
From the Logs:
This code snippet was previously sound until Lollipop arrived on the scene. Any Offers ?
- I should add.... that I discovered this when testing the app on Samsung S5 running Lollipop for an entirely separate bug that seems to have arrived with this OS version. According to Play store statistics I already have c.120 deployments running on Lollipop without any adverse customer feedback. I would like to get this Licence Checker issue fixed though.
When executing a licence check on a **Lollipop** device......
B4X:
Dim lc As LicenseChecker
lc.Initialize("lc", GetDeviceId, publicKey, "somerandomseed".GetBytes("UTF8"))
lc.SetVariableAndValue("My_Var", "MyVal")
lc.CheckAccess
The program halts at lc.CheckAccess with:
java.lang.IllegalArgumentException: Service Intent must be explicit: Intent {act=com.android.vending.licensing.llicensingService}
From the Logs:
ignoring event: updateip
Installing file.
PackageAdded: package:com.xxxxxxxx.yyyyyyyyyyyy
ignoring event: updateip
** Activity (main) Create, isFirst = true **
java.lang.IllegalArgumentException: Service Intent must be explicit: Intent { act=com.android.vending.licensing.ILicensingService }
at android.app.ContextImpl.validateServiceIntent(ContextImpl.java:1982)
at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:2090)
at android.app.ContextImpl.bindService(ContextImpl.java:2068)
at android.content.ContextWrapper.bindService(ContextWrapper.java:559)
at com.android.vending.licensing.LicenseChecker.checkAccess(SourceFile:143)
at anywheresoftware.b4a.objects.LicenseCheckerWrapper.CheckAccess(SourceFile:60)
at com.waterline.ecamresets.main._activity_create(main.java:399)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:187)
at com.waterline.ecamresets.main.afterFirstLayout(main.java:100)
at com.waterline.ecamresets.main.access$100(main.java:17)
at com.waterline.ecamresets.main$WaitForLayout.run(main.java:78)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5834)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1388)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183)
ignoring event: updateip
This code snippet was previously sound until Lollipop arrived on the scene. Any Offers ?
- I should add.... that I discovered this when testing the app on Samsung S5 running Lollipop for an entirely separate bug that seems to have arrived with this OS version. According to Play store statistics I already have c.120 deployments running on Lollipop without any adverse customer feedback. I would like to get this Licence Checker issue fixed though.
Last edited: