How did u import library into Android studio?
How to import Modbus4J into Android studio?
It should be the same process as any other Java project or regular JAR. I've never used Android studio personally though, so i can't give you specific instruction. I bet "import jar android studio" gets usable search results from elsewhere on the web. The github project is here: https://github.com/infiniteautomation/modbus4j