Back to All

Install react-native-validic-session

Hi,

I am following this link https://helpdocs.validic.com/docs/react-native-framework-wrapper, trying to install react-native-validic-session in my Android project. Did npx install and npx link ( assume I can skip the manual part). Then I tried to npx react-native run-android without modifying anything of the RN template project. Got below lint error. Can you please advise how to fix it?

  • What went wrong:
    Execution failed for task ':react-native-validic-session:bundleReleaseLocalLintAar'.

    Error while evaluating property 'hasLocalAarDeps' of task ':react-native-validic-session:bundleReleaseLocalLintAar'
    Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :react-native-validic-session project caused this error: ../../ValidicBLERN/node_modules/react-native-validic-session/android/libs/validicmobile-shared-release.aar