No matching configuration of project :libusb was found.

Posted 柳鲲鹏

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了No matching configuration of project :libusb was found.相关的知识,希望对你有一定的参考价值。

此文并无多大意义,只是记录一下遇到的问题。

  • 具体错误
Could not determine the dependencies of task ':OTGCamera:compileDebugRenderscript'.
> Could not resolve all task dependencies for configuration ':OTGCamera:debugCompileClasspath'.
   > Could not resolve project :libusb4javaso.
     Required by:
         project :OTGCamera
      > No matching configuration of project :libusb4javaso was found. The consumer was configured to find an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug' but:
          - None of the consumable configurations have attributes.
  • 解决办法

  吾这个项目是从外部复制进来的。刷新后一直不对,仔细对比文件没发现差异。于是删除了重新复制,揭示gradle.build一些配置错误,按照揭示处理后正常。

以上是关于No matching configuration of project :libusb was found.的主要内容,如果未能解决你的问题,请参考以下文章

Unity导入模型出现 (Avatar Rig Configuration mis-match. Bone length in configuration does not match positio

mybatis:"configuration" must match "(properties?,settings?,typeAliase.....

Git 操作报错 no matching cipher found

INSTALL_FAILED_NO_MATCHING_ABIS

大神指点: No matching bean of type [****.UserInfoService] found for dependency:

no matching function transform?