Android Question Using .aar library with JavaObject

Discussion in 'Android Questions' started by Chianca, Sep 20, 2019.

  1. Chianca

    Chianca Member Licensed User


    How can I use an .aar Library inside my B4A project?

    I've already added #AdditionalJar, but now, I want to call the methods of the Library.

    #AdditionalJar: libposdigital-1.4.0-2-release.aar
  2. DonManfred

    DonManfred Expert Licensed User

  3. Chianca

    Chianca Member Licensed User

  4. Chianca

    Chianca Member Licensed User


    I have tried following this tutorial, but, when I'm running the project, I'm facing this error:


    I've searched this error and found this Desugar solution by Erel.

    1 - Get Sample Project in B4J that implements the Desugar process;
    2 - Configure the variables and paths to correct files;
    3 - merged.jar was successfully created;

    What should I have to do now?

    Put the merged.jar in Libraries folder and use it as #AdditionalJar?
  5. Erel

    Erel Administrator Staff Member Licensed User

  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