Community

Gradle related issue in react-native

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

ERROR:
 
 

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

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

Please sign in to leave a comment.