我在哪里可以了解有关Android中使用的依赖项的更多信息(Where can I learn more about dependencies used in Android)

我是Android.developer的开始我只是想知道什么是dependencies 。 我在stackoverflow中非常清楚地知道我不会得到我的完整答案(由于它的策略)但我希望得到任何网站的提示,我可以在那里了解更多关于这些dependencies 。 我可以像自己一样dependency吗?

例如:假设我必须在我的Android应用程序中使用Facebook的功能,那么我会写

dependencies { compile 'com.facebook.android:facebook-android-sdk:4.7.0' }

现在,我知道我正在导入Facebook SDK或Facebook依赖,这种依赖会给我一些类或接口等来使用和连接Facebook。 **现在我的问题是我可以做出自己的依赖吗? **我知道答案是肯定的,我知道在引擎盖下工作有gradle和maven的东西,但我不知道从哪里开始。 任何网站或任何东西都会非常有帮助

I am a beginning Android.developer I just want to know what are dependencies. I know very clearly here in stackoverflow I won't get my full answer(due to its policies) but I am expecting to get a hint to any website where I can learn more about these dependencies. Like can I make my own dependency?

For example: Suppose if I have to use features of Facebook in my Android App then I will write

dependencies { compile 'com.facebook.android:facebook-android-sdk:4.7.0' }

Now, I know I am importing Facebook SDK, or Facebook dependency and this dependency will give me some classes or interfaces etc to use and connect with Facebook. **Now my question is can I make my own dependency and how? ** I know the answer is yes, I know there is gradle and maven stuff working under the hood, but I don't know where to start from. Any website or just anything would be very helpful

最满意答案

你的问题很清楚,我能清楚地理解你。现在让我告诉你如何。 http://inthecheesefactory.com/blog/how-to-upload-library-to-jcenter-maven-central-as-dependency/en

顺便说一句,我想告​​诉你,你可以自己解决问题而不必等待。

让我谷歌那个给你

Your question is very clear,I can understand you clearly.Now Let me tell you the HOW. http://inthecheesefactory.com/blog/how-to-upload-library-to-jcenter-maven-central-as-dependency/en

By the way, I want to tell you that you can solve the problem by your own without any waiting .

Let me google that for you

更多推荐