简体   繁体   中英

Where from dependent jar files are imported during programming in Android Studio?

While dependencies are added to app's build.gradle in android studio, I want to know if any jar files are downloaded while they are added as external jars?

Where can I find these jars ?

Basically, you can include your JAR files in three different ways. The last one is remote library that is using https://bintray.com/ jcenter online repository. But, if you do it in one of the two other ways, the JAR file will be included physically in your project. Please read this link https://stackoverflow.com/a/35369267/5475941 for more information. In this post I explained how to import your JAR file in Android studio and I explained all possible ways.

In summary, if it is like this (local address), they are downloaded and these JAR files are physically in the project:

在此处输入图片说明

But, if it is an internet address like this, they are remote libraries (bintray.com jcenter part) and they will be used remotely:

在此处输入图片说明

I hope it helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM