teslamotors / react-native-camera-kit

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

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

Open elibroftw opened 9 months ago

elibroftw commented 9 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 7 months ago

any fix for this? same happening to me currently

elibroftw commented 7 months ago

remove the kotlin-android-extensions plugin line

neeraj500 commented 5 months ago

same error for me, has anyone resolved this?

KrishnaDolas commented 5 months ago

neeraj500

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

neeraj500 commented 5 months ago

@KrishnaDolas Nope

mandeepBartwal1079 commented 1 week ago

is there anyone who fixedit?