Android Studio 3.5.2 add dependent libraries

Because you want to connect to the database server, Baidu a little experience, you need to add some mysql database, looked at the experience, tutorials 3.5.2 version of the add-dependent library was not found.

Because the new version of androidstudio a little different, to make records.

For example, we want to add the library as shown:

 

 

Copy the downloaded from the Internet to the next after libs directory.

Top right, click the icon.

 

 Then again click on dependencies, click on the app. Click the + sign

 

 

Click the second jar dependency, because I have a jar package

 

 

Small triangle drop-down, choose your jar package

 

 

Click ok

 

 

Finish up the first point apply, then point ok! Remember to click apply (because I have clicked on a color so grayed out)

 

 

Then go to your buld.gradle look dependencies, the package is not much you add ah ~

 

 

Finally, because there are dependencies found in the directory tree of this package, we did not know whether this step to add the extra or added.

Guess you like

Origin www.cnblogs.com/mlblog27/p/12009715.html