Hello Team,
I have integrated a react-native-abbyy-mobile-capture version 1.0.4. It is the latest npm version for the react-native with Android gradle 6.9 It is working fine but when I upgrade a gradle version to 7.2 it was giving me the error could guys please help me out
Thanks
BUILD FAILED in 3s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build file '/Users/107170/Desktop/My_Workstation/NewClone/TealPanda/mobile/node_modules/react-native-abbyy-mobile-capture/android/build.gradle' line: 23
* What went wrong:
A problem occurred evaluating project ':react-native-abbyy-mobile-capture'.
> Plugin with id 'maven' not found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':react-native-abbyy-mobile-capture'.
> com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
BUILD FAILED in 3s
Comments
1 comment
Hello,
I am afraid that the help regarding the React Native module gradle setup is limited to
https://help.abbyy.com/en-us/mobilecapturesdk/1/reactnative_help/reactnative-getting-started/
If you would like to investigate this issue in more detail, please create a support ticket or we can create it for you.
Please sign in to leave a comment.