Using this example (https://www.b4x.com/android/forum/threads/fusedlocationprovider-resolution-dialog.111652/ ) as it is untouched, displays the following error, can anyone please guide me whats the issue ? line 26 is flp.Connect
Line 26 : flp.Connect
B4X:
Logger connected to: motorola moto e(7) plus
--------- beginning of main
Copying updated assets files (1)
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
Error occurred on line: 26 (B4XMainPage)
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.keywords.Common.CallSubDebug2(Common.java:1058)
at b4a.example.loc.b4xpagesmanager._createpageifneeded(b4xpagesmanager.java:1068)
at b4a.example.loc.b4xpagesmanager._showpage(b4xpagesmanager.java:425)
at b4a.example.loc.b4xpagesmanager._addpage(b4xpagesmanager.java:245)
at b4a.example.loc.b4xpagesmanager._addpageandcreate(b4xpagesmanager.java:259)
at b4a.example.loc.b4xpagesmanager._initialize(b4xpagesmanager.java:165)
at b4a.example.loc.main._activity_create(main.java:415)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:146)
at b4a.example.loc.main.afterFirstLayout(main.java:105)
at b4a.example.loc.main.access$000(main.java:17)
at b4a.example.loc.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:914)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at anywheresoftware.b4a.debug.Debug.CallSub4(Debug.java:336)
at anywheresoftware.b4a.debug.Debug.CallSubNew2(Debug.java:285)
... 24 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.debug.Debug.CallSub4(Debug.java:318)
... 25 more
Caused by: java.lang.IncompatibleClassChangeError: Found class com.google.android.gms.common.api.GoogleApiClient, but interface was expected (declaration of 'com.google.android.gms.common.api.GoogleApiClient' appears in base.apk)
at uk.co.martinpearman.b4a.fusedlocationprovider.FusedLocationProviderWrapper.Connect(FusedLocationProviderWrapper.java:147)
at b4a.example.loc.b4xmainpage._b4xpage_created(b4xmainpage.java:62)
... 27 more
Line 26 : flp.Connect