No matching configuration of project :libusb was found.

简介: 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一些配置错误,按照揭示处理后正常。

目录
相关文章
|
1月前
|
人工智能 机器人 测试技术
【CMake报错】Cannot specify compile definitions for target “PRIVATE“ which is not built...
【CMake报错】Cannot specify compile definitions for target “PRIVATE“ which is not built...
|
2月前
|
Kubernetes 容器
error: no configuration has been provided, try setting KUBERNET
error: no configuration has been provided, try setting KUBERNET
27 0
|
9月前
|
开发工具
WARNING: library configuration mismatch
WARNING: library configuration mismatch
198 0
|
12月前
|
Java Maven
Error running ‘ssm [clean]‘: No valid Maven installation found. Either set the home directory in the
Error running ‘ssm [clean]‘: No valid Maven installation found. Either set the home directory in the
|
Java Scala
sbt.internal.inc.CompileFailed: Error compiling the sbt component ‘compiler-interface-2.11.8-61.0‘
IDEA 的 JDK 和 Scala 版本对应不上。 使用 Scala12.1.8配上 JDK8
293 0
No matching configuration of project :libusb was found.
No matching configuration of project :libusb was found.
451 0
No plugin found for prefix ‘doclint‘ in the current project
No plugin found for prefix ‘doclint‘ in the current project
99 0
configure: error: Package requirements (commoncpp 6.2.2) were not met
configure: error: Package requirements (commoncpp 6.2.2) were not met
61 0
|
开发工具
Failed to find Build Tools revision 25.0.2
Failed to find Build Tools revision 25.0.2
81 0
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
478 0
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案