Java Question My tentative first library

Discussion in 'Libraries developers questions' started by ltrebuchet, Jan 6, 2017.

  1. ltrebuchet

    ltrebuchet Member Licensed 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
     

    Attached Files:

  2. ltrebuchet

    ltrebuchet Member Licensed 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.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice