I'm trying to install @mak12/react-native-background-geolocation
a fork of @mauron85/react-native-background-geolocation
but keeps getting the following error message:
我正在尝试安装@mak12/action-ative-back-geolocation的一个分支@mauron85/action-ative-back-geolocation,但一直收到以下错误消息:
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
> Could not resolve project :mak12_react-native-background-geolocation.
Required by:
project :app
> No matching configuration of project :mak12_react-native-background-geolocation was found. The consumer was configured to find an API of a component
preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.3.1' but:
- None of the consumable configurations have attributes.
Can anyone explain this error for me, and possibly how to fix it?
谁能为我解释这个错误,以及可能的修复方法?
更多回答
优秀答案推荐
我是一名优秀的程序员,十分优秀!