为什么httpclientandroidlib在我的android apk中作为依赖?

时间:2016-01-28 12:38:10

标签: java android android-build androidhttpclient

当我使用方法计数分析工具(例如apk method count)分析app apk时,我发现ch.boye.httpclientandroidlib始终作为应用程序中的依赖项存在。 (使用3000多种方法)

当我尝试使用

分析依赖关系时
./gradlew app:dependencies 

'ch.boye.httpclientandroidlib'不会以任何方式显示为依赖项。

我知道'ch.boye.httpclientandroidlib'是一个repackaging of HttpClient 4.3.1 for Android,但我不知道它为什么会出现,为什么会显示出来?

我正在编译api level 23,我们的min api等级为14。

编辑:添加当前依赖项:

+--- com.android.support:appcompat-v7:23.1.1
    |    \--- com.android.support:support-v4:23.1.1
    |         \--- com.android.support:support-annotations:23.1.1
    +--- com.android.support:support-v13:23.1.1
    |    \--- com.android.support:support-v4:23.1.1 (*)
    +--- com.android.support:support-annotations:23.1.1
    +--- com.google.dagger:dagger:2.0.1
    |    \--- javax.inject:javax.inject:1
    +--- javax.annotation:javax.annotation-api:1.2
    +--- com.jakewharton:butterknife:7.0.1
    +--- com.squareup.retrofit:retrofit:1.9.0
    |    \--- com.google.code.gson:gson:2.3.1
    +--- com.google.code.gson:gson:2.3.1
    +--- com.github.bumptech.glide:glide:3.6.1
    +--- com.fasterxml.jackson.core:jackson-core:2.4.1
    +--- io.reactivex:rxandroid:1.0.1
    |    \--- io.reactivex:rxjava:1.0.13
    +--- com.hannesdorfmann.mosby:mvp:2.0.0
    |    +--- com.hannesdorfmann.mosby:mvp-common:2.0.0
    |    |    \--- com.android.support:support-annotations:23.0.1 -> 23.1.1
    |    \--- com.android.support:appcompat-v7:23.0.1 -> 23.1.1 (*)
    +--- com.hannesdorfmann.mosby:viewstate:2.0.0
    |    \--- com.hannesdorfmann.mosby:mvp:2.0.0 (*)
    +--- de.greenrobot:eventbus:3.0.0-beta1
    +--- com.nhaarman.listviewanimations:lib-core:3.1.0
    +--- com.github.amlcurran.showcaseview:library:5.0.0
    +--- com.melnykov:floatingactionbutton:1.0.7
    |    \--- com.android.support:recyclerview-v7:21.0.0 -> 23.1.1
    |         +--- com.android.support:support-annotations:23.1.1
    |         \--- com.android.support:support-v4:23.1.1 (*)
    +--- it.sephiroth.android.library.imagezoom:imagezoom:2.2.4
    +--- de.psdev.licensesdialog:licensesdialog:1.7.0
    |    +--- com.android.support:support-v4:21.0.3 -> 23.1.1 (*)
    |    \--- com.google.code.findbugs:jsr305:3.0.0
    +--- org.solovyev.android:checkout:0.6.0
    +--- com.sothree.slidinguppanel:library:3.2.0
    |    +--- com.android.support:support-v4:22.2.1 -> 23.1.1 (*)
    |    +--- com.android.support:recyclerview-v7:22.2.1 -> 23.1.1 (*)
    |    +--- com.nineoldandroids:library:2.4.0
    |    \--- com.android.support:support-annotations:22.2.1 -> 23.1.1
    +--- se.emilsjolander:stickylistheaders:2.7.0
    +--- com.google.android.gms:play-services-maps:8.4.0
    |    \--- com.google.android.gms:play-services-base:8.4.0
    |         \--- com.google.android.gms:play-services-basement:8.4.0
    |              \--- com.android.support:support-v4:23.0.0 -> 23.1.1 (*)
    +--- com.google.android.gms:play-services-location:8.4.0
    |    +--- com.google.android.gms:play-services-base:8.4.0 (*)
    |    \--- com.google.android.gms:play-services-maps:8.4.0 (*)
    +--- com.google.android.gms:play-services-wearable:8.4.0
    |    \--- com.google.android.gms:play-services-base:8.4.0 (*)
    +--- com.flaviofaria:kenburnsview:1.0.6
    +--- com.googlecode.mp4parser:isoparser:1.1.7
    |    \--- org.aspectj:aspectjrt:1.8.2
    +--- com.android.support:cardview-v7:23.1.1
    +--- com.github.hotchemi:permissionsdispatcher:2.0.0
    |    \--- com.android.support:support-v4:23.1.1 (*)
    +--- project :lib-mylib
    |    +--- com.android.support:appcompat-v7:23.1.1 (*)
    |    \--- com.google.android.gms:play-services-wearable:8.4.0 (*)
    +--- project :lib-mylib
    \--- project :lib-mylib
         \--- com.google.code.gson:gson:2.3.1

0 个答案:

没有答案