appodeal / react-native-appodeal

Official React Native package that adds Appodeal SDK support to your react-native application.
https://appodeal.com
59 stars 37 forks source link

Gradle Build Error - Unable to Resolve Dependency for Appodeal SDK #119

Open hi-kuldeep opened 3 months ago

hi-kuldeep commented 3 months ago

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.

Screenshot 2024-03-13 at 12 45 00 PM
aleRisposta42 commented 1 month ago

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?

edwardsifi commented 12 hours ago

I have the same error, it seems that this version of the Appodeal SDK does not exist.