In Android development, we will inevitably encounter moments when we need to import jars, so how do we import jar packages correctly?
In fact, the method is very simple and does not require any complicated operations. Stop talking nonsense, the picture above!
First open android studio
This is the version I use
1. Paste your own jar package directly ctrl+c———”ctrl+v into the libs directory
2. Right-click the jar package to find add as Library and click
android studio starts to compile, don't worry
Just a little triangle
Is it very simple?
But I also fiddled with it for a long time when I first learned, it was troublesome