Product: PDFTron SDK
Product Version: 9.0.3-beta11
I am getting the error while debugging the react-native app on an Android device/emulator.
Steps to reproduce it:
Please let me know what would be the reason for this.
Hello, I’m Ron, an automated tech support bot
While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:
Could you try installing again by following the steps from here: https://github.com/PDFTron/pdftron-react-native#installation ?
You can also take a look at our React Native Sample app here: https://github.com/PDFTron/react-native-sample and compare with your app to check for differences.
If you’re still having trouble, would it be possible if you could send us a sample project created by you that contains this problem?
Thanks for sharing this solution here!
But I have already tried these steps but I have not succeeded in fixing this problem.
I created one demo app and that was working fine but in my existing project, it did not work.
Could you double check and compare the gradle.build files from your app and our sample to check if you’re missing anything? Specifically these two files: https://github.com/PDFTron/react-native-sample/blob/master/android/build.gradle and https://github.com/PDFTron/react-native-sample/blob/master/android/app/build.gradle
Would it be possible if you could send us your sample app so we can take a closer look? If you would prefer a private channel to send us your sample, please feel free to create a support ticket here: https://www.pdftron.com/company/contact-us/