相关疑难解决方法(0)

发布时会忽略Android依赖项

在使用gradle构建项目时,我收到了很多这些警告.我看到/sf/answers/1105625531/,但我不清楚如何沉默这些.这听起来像我依赖的这些东西的任何版本都被剥离出来支持android.jar中打包的版本.

我想这没关系,但我真的想关闭它们,以便我看到的东西只是真正的问题.

所以,具体来说,我很好奇:

  1. 这是否表明存在问题?似乎绝对不是.
  2. 我怎么关闭它?
  3. 不是每个人都看到这套警告吗?我怀疑使用gradle + android.Log的整个人群正在看到这组警告.
WARNING: Dependency commons-logging:commons-logging:1.1.1 is ignored for debug as it may be conflicting with the internal version provided by Android.
         In case of problem, please repackage it with jarjar to change the class packages
WARNING: Dependency commons-logging:commons-logging:1.1.1 is ignored for debug as it may be conflicting with the internal version provided by Android.
         In case of problem, please repackage it with jarjar to change the class packages
WARNING: Dependency commons-logging:commons-logging:1.1.1 is …
Run Code Online (Sandbox Code Playgroud)

android

44
推荐指数
2
解决办法
2万
查看次数

标签 统计

android ×1