Java Question My tentative first library

ltrebuchet

Member
Licensed User
Longtime User
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
    2.1 KB · Views: 286
  • AmbientMode.xml
    1.6 KB · Views: 348
  • AndroidManifest.xml
    1.3 KB · Views: 300

ltrebuchet

Member
Licensed User
Longtime User
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.
 
Top