wonday / react-native-pdf

A <Pdf /> component for react-native
MIT License
1.6k stars 557 forks source link

"Unable to Resolve Dependency for :react-native-pdf in Gradle Build" #866

Open edwardlorilla1986 opened 2 months ago

edwardlorilla1986 commented 2 months ago

What react-native version are you using? "react-native": "0.64.3",

What react-native-pdf version are you using? "react-native-pdf": "^6.7.5", and ^6.4.0",

What platform does your issue occur on? (android)

Describe your issue as precisely as possible : 1) Steps to reproduce the issue or to explain in which case you get the issue 2)


* 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 :react-native-pdf.
     Required by:
         project :app
      > No matching configuration of project :react-native-pdf 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', attribute 'react-native-camera' with value 'general' but:
          - None of the consumable configurations have attributes.

Join a screenshot or video of the problem on the simulator or device?

Screenshot 2024-09-10 at 9 59 51 AM

Show us the code you are using?