ltrebuchet Member Licensed User Longtime User Jan 6, 2017 #1 I have successfully added following the BarxDroid tutorial a wear app to one of my apps. Now I wished to construct an additional library to control the visibility of the wear app in ambient mode. See attached files. When I try to compile the wear app using this new library I get the following error: avac 1.8.0_112 src\louistrebuchet\golfcoach8\main.java:350: error: cannot find symbol public louistrebuchet.ambientmode _v5 = null; ^ symbol: class ambientmode location: package louistrebuchet 1 error I connot find what I missed. Thanks for any help Regards Louis Attachments AmbientMode.jar AmbientMode.jar 2.1 KB · Views: 504 AmbientMode.xml AmbientMode.xml 1.6 KB · Views: 553 AndroidManifest.xml AndroidManifest.xml 1.3 KB · Views: 516
I have successfully added following the BarxDroid tutorial a wear app to one of my apps. Now I wished to construct an additional library to control the visibility of the wear app in ambient mode. See attached files. When I try to compile the wear app using this new library I get the following error: avac 1.8.0_112 src\louistrebuchet\golfcoach8\main.java:350: error: cannot find symbol public louistrebuchet.ambientmode _v5 = null; ^ symbol: class ambientmode location: package louistrebuchet 1 error I connot find what I missed. Thanks for any help Regards Louis
ltrebuchet Member Licensed User Longtime User Jan 6, 2017 #2 I found the problem and the solution: needed to pay a lot of attention to absolute cohérence in versions of Android studio SDK version (to build the library.jar), and in B4A IDE the SDK path (android.jar) and the #additionaljars.
I found the problem and the solution: needed to pay a lot of attention to absolute cohérence in versions of Android studio SDK version (to build the library.jar), and in B4A IDE the SDK path (android.jar) and the #additionaljars.