Other GooglePlayServicesUtil.getErrorDialog(Unknown Source)

marcel

Active Member
Licensed User
Longtime User
B4X:
java.lang.NullPointerException
    at com.google.android.gms.common.GooglePlayServicesUtil.a(Unknown Source)
    at com.google.android.gms.common.GooglePlayServicesUtil.getErrorDialog(Unknown Source)
    at com.google.android.gms.common.GooglePlayServicesUtil.getErrorDialog(Unknown Source)
    at com.cyclone.b4a.CycloneLocationClient.showErrorDialog(CycloneLocationClient.java:101)
    at com.cyclone.b4a.CycloneLocationClient.checkPlayServices(CycloneLocationClient.java:91)
    at com.yazula.android.main._activity_resume(main.java:460)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:175)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:159)
    at com.yazula.android.main.afterFirstLayout(main.java:104)
    at com.yazula.android.main.access$100(main.java:16)
    at com.yazula.android.main$WaitForLayout.run(main.java:76)
    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.app.ActivityThread.main(ActivityThread.java:5017)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NullPointerException

Using my new location service library that is using google-play-services I detect if this is installed. In case this is not installed it should show an error log.

at com.google.android.gms.common.GooglePlayServicesUtil.getErrorDialog(Unknown Source)

But for some reason I get an exception.

I have already included in my main program:
B4X:
#AdditionalRes: D:\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms

and in the manifest file:

B4X:
AddApplicationText(<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />)

and the goolge-play-service.jar file in the in the libs directory for B4A.

What else can I check?
 
Top