简体   繁体   English

通过gradle下载的外部库在哪里存储在Android项目中?

[英]Where does the external library, downloaded by gradle, get stored in an Android project?

I need to modify the source code of the CometChat UI library . 我需要修改CometChat UI库的源代码。

The documentation says that the source code can be found in the downloaded SDK package under the Android/CometChat UI . 文档说明源代码可以在Android / CometChat UI下的下载SDK包中找到

I've unsuccessfully tried to find these files by the path from documentation, even in hidden folders. 我没有成功尝试通过文档中的路径找到这些文件,即使在隐藏文件夹中也是如此。

The question is how could I get the source code of the whole external library? 问题是如何获得整个外部库的源代码? Where is it stored? 它存放在哪里?

Where does the external library, downloaded by gradle, get stored in an Android project? 通过gradle下载的外部库在哪里存储在Android项目中?

It is not stored in the project. 它不存储在项目中。 It is stored in Gradle's artifact cache. 它存储在Gradle的工件缓存中。 You will find it in ~/.gradle/caches/modules-2/files-2.1/ , in subdirectories organized by the artifact group and ID. 您可以在~/.gradle/caches/modules-2/files-2.1/找到它,在由工件组和ID组织的子目录中。

The documentation says that the source code can be found in the downloaded SDK package under the Android/CometChat UI. 文档说明源代码可以在Android / CometChat UI下的下载SDK包中找到。

That documentation seems to be out of date. 该文件似乎已过时。

how could I get the source code of the whole external library? 我怎样才能获得整个外部库的源代码?

It is possible that source code will be part of what Gradle downloads, depending on how CometChat set up their artifacts. 源代码可能是Gradle下载的一部分,具体取决于CometChat如何设置其工件。 Otherwise, you will need to contact CometChat for developer support. 否则,您需要联系CometChat以获得开发人员支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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