当我将我的项目上传到 google play 商店时,我收到 Libpng 库错误并且应用程序被拒绝。我不确定它在哪里使用。我用过很多库,可能就是其中之一。我怎样才能找到它的确切使用位置。
有没有办法像这样(只是一个例子)-
resolutionStrategy {
force 'com.google.android.gms:play-services-vision:11.4.2'
}
最佳答案
要获取依赖项列表,您可以从 Gradle -> Dependencies 运行它
然后你可以找出导致问题的库,你可以像这样排除它
dependencies
{
compile 'com.android.support:support-v4:xx.0.+'
compile ("com.xxx:xxx-commons:1.+")
{
exclude group: 'junit', module: 'junit'
}
}
关于android-security - 如何找到android项目中使用的libpng库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47882105/