【问题标题】:How to find Libpng library used in android project如何找到android项目中使用的Libpng库
【发布时间】:2017-12-19 07:40:48
【问题描述】:

当我将我的项目上传到 Google Play 商店时,出现 Libpng 库错误并且应用程序被拒绝。我不确定它在哪里使用。我用过很多图书馆可能就是其中之一。我怎样才能找到它的确切使用位置。

有什么办法可以完全绕过这个(只是一个例子)-

resolutionStrategy {
        force 'com.google.android.gms:play-services-vision:11.4.2'
}

【问题讨论】:

    标签: android-security


    【解决方案1】:

    要获取依赖列表,您可以从 Gradle -> Dependencies 运行它

    然后你可以找出哪个库导致问题,你可以像这样排除它

    dependencies 
    {
       compile 'com.android.support:support-v4:xx.0.+'
       compile ("com.xxx:xxx-commons:1.+") 
       {
           exclude group: 'junit', module: 'junit'
       }
    }
    

    【讨论】:

    • dependencies 将仅打印 java/jar/aar 库依赖项,而 libpng 是通过本机函数访问的 c 库!
    猜你喜欢
    • 2017-01-18
    • 2011-07-02
    • 2012-07-01
    • 2012-12-25
    • 2017-07-02
    • 1970-01-01
    • 2017-01-16
    • 1970-01-01
    • 2012-08-24
    相关资源
    最近更新 更多