teslamotors / react-native-camera-kit

A high performance, easy to use, rock solid camera library for React Native apps.
MIT License
2.42k stars 577 forks source link

React Native 0.73 Android - Task :app:compileReleaseKotlin FAILED #638

Open elibroftw opened 5 months ago

elibroftw commented 5 months ago

Describe the bug When building with react-native 0.73+ (including upgrading Gradle), I get the following error

Task :app:compileReleaseKotlin FAILED e: The Android extensions ('kotlin-android-extensions') compiler plugin is no longer supported. Please use kotlin parcelize and view binding. More information: https://goo.gle/kotlin-android-extensions-deprecation

FAILURE: Build failed with an exception.

To Reproduce Steps to reproduce the behavior:

  1. Create react-native 0.73 project
  2. Follow https://github.com/teslamotors/react-native-camera-kit/blob/master/docs/kotlin.md
  3. Try building for Android

Expected behavior

Compilation.

Screenshots If the issue is a visual glitch or UI issue please provide screen shots.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

Fix:

remove the kotlin-android-extensions plugin line

nadSTC commented 2 months ago

any fix for this? same happening to me currently

elibroftw commented 2 months ago

remove the kotlin-android-extensions plugin line

neeraj500 commented 2 weeks ago

same error for me, has anyone resolved this?

KrishnaDolas commented 2 weeks ago

neeraj500

got any soltion ? i also have this error Execution failed for task ':app:compileReleaseKotlin'.

neeraj500 commented 1 week ago

@KrishnaDolas Nope