How do I add a dependency in extension?

The jar itself is dependency and did you search on the forum?

https://community.appinventor.mit.edu/search?q=add%20libraries

Go through the posts on the topic and you will find what you're looking for:

You can find most of the dependencies at:

https://mvnrepository.com

2 Likes