With your help, now I can compile wearable and mobile app.
I updated jdk to 1.8.0_102.
After install the mobile version on phone, just when it opens, crash immediately with the following error:
** Activity (main) Pause, UserClosed = false **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
java.lang.IncompatibleClassChangeError: The method 'void com.google.android.gms.common.api.GoogleApiClient.connect()' was expected to be of type interface but instead was found to be of type virtual (declaration of 'barxdroid.wearabledatalayer.WearableDataLayer' appears in /data/app/barxdroid.wearable.example.dynamicmessage-1/base.apk)
at barxdroid.wearabledatalayer.WearableDataLayer.Connect(WearableDataLayer.java:94)
at barxdroid.wearable.example.dynamicmessage.main._activity_resume(main.java:404)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:703)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:337)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:247)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:134)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:153)
at barxdroid.wearable.example.dynamicmessage.main.afterFirstLayout(main.java:108)
at barxdroid.wearable.example.dynamicmessage.main.access$000(main.java:17)
at barxdroid.wearable.example.dynamicmessage.main$WaitForLayout.run(main.java:80)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5728)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)