Gradle Build Error - Unable to Resolve Dependency for Appodeal SDK
Upon attempting to compile the app, we encountered the following error:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. Could not find any version that matches com.appodeal.ads:sdk:3.2.1.+. Versions that do not match:
- 3.0.1.1
- 3.0.1.0 Required by: project :app
Our current environment setup is as follows:
React version: 18.2.0 React Native version: 0.73.0 React Native Appodeal version: 3.2.1 It appears that the specified version of the Appodeal SDK (3.2.1) is not being recognized during the compilation process. Despite specifying the version in our dependencies, the build process is unable to find a matching version of the SDK.
I'm having the same issue. I followed the installation guide and I'm getting the same error.
I'm using Node version 18 and React Native 0.74.
I installed the latest version of react-native-appodeal,
but when I try with older versions, specifically 3.0.1,
I get other errors. How can I fix this?
I have the same error, it seems that this version of the Appodeal SDK does not exist.
It worked when I added the repository into allprojects -> repositories instead of buildscript -> repositories 😄