gradle 下载的外部库存储在 Android 项目中的什么位置?

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

我需要修改CometChat UI library的源代码。

文档说 the source code can be found in the downloaded SDK package under the Android/CometChat UI.

我尝试通过文档中的路径找到这些文件,但没有成功,即使在隐藏文件夹中也是如此。

问题是如何获取整个外部库的源代码?它存储在哪里?

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

它没有存储在项目中。它存储在 Gradle 的神器缓存中。您会在 ~/.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.

该文档似乎已过时。

how could I get the source code of the whole external library?

源代码可能会成为 Gradle 下载内容的一部分,具体取决于 CometChat 如何设置其工件。否则,您将需要联系 CometChat 以获得开发人员支持。