Hi and welcome to devnet forum
What do you mean with Android lib?
What is special that call it Android lib?
Basically all applications from my point of view, that might be limited, you develop with Qt creator can be compiled also for a desktop OS such as windows, MacOs, and linux. Therefore, I would simply write tests on the desktop I am using for my development. A restriction I see is that there is a slight chance that one of the special Android libraries does not work properly.