You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all dependencies for configuration ':app:debugCompileClasspath'.
> Could not resolve project :react-native-iap.
Required by:
project :app
> No matching variant of project :react-native-iap was found. The consumer was configured to find a library for use during compile-time, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.6.0', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- No variants exist.
> Could not resolve project :react-native-iap.
Required by:
project :app
> No matching variant of project :react-native-iap was found. The consumer was configured to find a library for use during compile-time, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.6.0', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- No variants exist.
There also no listed outgoing variants
when using ./gradlew :react-native-iap:outgoingVariants --info
> Task :react-native-iap:outgoingVariants
Caching disabled for task ':react-native-iap:outgoingVariants' because:
Build cache is disabled
Task ':react-native-iap:outgoingVariants' is not up-to-date because:
Task has not declared any outputs despite executing actions.
Environment:
react-native-iap: 12.15.7
react-native: 0.73.6
My existing build.gradle file has the following defaultConfig
Description
Error when attempting to build for android.
There also no listed outgoing variants
when using
./gradlew :react-native-iap:outgoingVariants --info
Environment:
My existing build.gradle file has the following defaultConfig
To Reproduce
Steps to reproduce the behavior:
./gradlew build
The text was updated successfully, but these errors were encountered: