Android Question Using .aar library with JavaObject

Chianca

Member
Licensed User
Longtime User
Hello,

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.

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

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Chianca

Member
Licensed User
Longtime User
Thank You!

I will try now!


Hi!

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

upload_2019-9-20_14-7-19.png


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?
 
Upvote 0
Top