android - 这个Android Studio项目的build.gradle中声明了哪些第三方依赖?

标签 android eclipse android-studio build.gradle support-vector-compat

我要转换this Android Studio project到 Eclipse 项目中。

实现方法是将AS项目的所有src包和res目录下的所有内容复制到Eclipse项目中,并通过添加AS项目中的所有附加元素来更改Eclipse项目的Manifest文件。

问题是,我必须为 AS 项目所依赖的所有第三方依赖项(在 build.gradle 中声明)执行此操作,然后将这些库项目添加到这个新创建的 Eclipse 项目中.

通常我会为 AS 项目的 build.gradle 文件的 dependencies 部分中列出的每个库执行此操作。但是对于 this library project ,我不明白依赖项是什么:

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:22.1.1'
    apply from: 'https://raw.github.com/chrisbanes/gradle-mvn-push/master/gradle-mvn-push.gradle'
}

第一行和第三行我看不懂。请告诉我在第一行和第三行声明了哪些库,以便我可以将这些项目复制到 Eclipse 中?


编辑:

这是 gradlew.bat -q dependencies 命令的输出:

enter image description here


编辑 1:

enter image description here


编辑 2:

enter image description here

最佳答案

对于每个项目模块,从命令行执行以下操作:

./gradlew -q dependencies

这将打印出模块具有的所有依赖项的图表。

关于android - 这个Android Studio项目的build.gradle中声明了哪些第三方依赖?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38477849/

相关文章:

flutter - 了解第 3 方提供的类(实例)结构的一般方法是什么?

android - 如何删除可检查菜单项的末尾填充?

java - Oomph 和 Workspace Mechanic 之间的区别

javascript - Eclipse:内容辅助不显示建议

eclipse - 在我的项目中,我发现了这个异常org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException。如何解决呢?

android-studio - Android Studio:Gradle Executin失败,并发生dexDebug错误

android - Build bundle 与 Generate Signed bundle apk 的主要区别是什么?

java - Android - 通过另一个类向 String[] 添加值

android - RxJava 过滤器 'else'

java - Android 中的 SparseArray 克隆