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

目录
打赏
0
0
0
0
17
分享
相关文章
|
11月前
|
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
438 0
WARNING: library configuration mismatch
WARNING: library configuration mismatch
419 0
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
1291 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
160 0
cl.exe is unable to create an executable file. C compiler test failed.
cl.exe is unable to create an executable file. C compiler test failed.
242 0
configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables
348 0
编译OpenJDK:invalid configuration Files: machine Files not recognized
编译OpenJDK:invalid configuration Files: machine Files not recognized
137 0
成功解决OpenVideoCall(不可用)以及MSB8020 The build tools for v141 (Platform Toolset = ‘v141‘) cannot be found
成功解决OpenVideoCall(不可用)以及MSB8020 The build tools for v141 (Platform Toolset = ‘v141‘) cannot be found
成功解决OpenVideoCall(不可用)以及MSB8020 The build tools for v141 (Platform Toolset = ‘v141‘) cannot be found
成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t
成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t
成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t
No matching configuration of project :libusb was found.
No matching configuration of project :libusb was found.
1233 0