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

目录
相关文章
|
开发工具 数据安全/隐私保护 git
remote: The project you were looking for could not be found.
因为使用了不同的账号对不同的项目进行登录,在更换回原先的账户下载git上的代码时,就报了这个问题,这个问题的导致原因其实也就是我们不断更换登录账户所导致的。
594 0
remote: The project you were looking for could not be found.
|
9月前
|
人工智能 机器人 测试技术
【CMake报错】Cannot specify compile definitions for target “PRIVATE“ which is not built...
【CMake报错】Cannot specify compile definitions for target “PRIVATE“ which is not built...
121 0
|
9月前
|
Kubernetes 容器
error: no configuration has been provided, try setting KUBERNET
error: no configuration has been provided, try setting KUBERNET
92 0
|
9月前
|
Java Maven
The goal you specified requires a project to execute but there is no POM in this directory
The goal you specified requires a project to execute but there is no POM in this directory
325 0
Error: Plugin/Preset files are not allowed to export objects, only functions……
Error: Plugin/Preset files are not allowed to export objects, only functions……
|
开发工具
WARNING: library configuration mismatch
WARNING: library configuration mismatch
359 0
|
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
148 0
|
Java Maven
No valid Maven installation found. Either set the home directory in the configuration dialog or set
No valid Maven installation found. Either set the home directory in the configuration dialog or set
1136 0
No valid Maven installation found. Either set the home directory in the configuration dialog or set
No plugin found for prefix ‘doclint‘ in the current project
No plugin found for prefix ‘doclint‘ in the current project
151 0
|
Java
编译OpenJDK:invalid configuration Files: machine Files not recognized
编译OpenJDK:invalid configuration Files: machine Files not recognized
127 0