react-native-line icon indicating copy to clipboard operation
react-native-line copied to clipboard

fix(android): remove not supported plugin 'kotlin-android-extensions'

Open JeffGuKang opened this issue 2 years ago • 2 comments
trafficstars

  • React Native: 0.72.3

Correct error below.

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. * What went wrong:
Execution failed for task ':xmartlabs_react-native-line:compileDebugKotlin'.

My android/build.gradle

// https://rnfirebase.io/#android
project.ext {
  set('react-native', [
    versions: [
      // Overriding Build/Android SDK Versions
      android : [
        minSdk    : 19,
        targetSdk : 33,
        compileSdk: 33,
      ],

      // Overriding Library SDK Versions
      firebase: [
        // Override Firebase SDK Version
        bom           : "32.1.0"
      ],
    ],
  ])
}

buildscript {
    ext {
        buildToolsVersion = "33.0.0"
        minSdkVersion = 21
        compileSdkVersion = 33
        targetSdkVersion = 31
       
        ndkVersion = "23.1.7779620"
        kotlinVersion = '1.8.0'
    }

....

PR Title

fix(android): remove not supported plugin 'kotlin-android-extensions'

🔄 Type of change:

  • [ ] ✨Feature/chore
  • [ ] :recycle: Refactor
  • [x] :wrench: Bugfixes

:pencil2: Description:

Add a description of the feature or bug you are tackling. First in high level perspective and then you can describe your solution. Include acceptance criteria, diagrams of the code, or anything else you consider that might help other developers understand your decisions.


:movie_camera: Screen record:

Add a screen record of the execution of your functionality. This way the reviewer can better understand what has been added.


:pushpin: Notes:

  • Include pending tasks, TODOs, assumptions, or comments like 'Needs migrating', or 'Requires ENV vars: [..]'

:heavy_check_mark:Tasks:

  • Include a medium-level tasking that summarizes the changes in the code

:warning: Warnings:

  • Include a list of considerations for reviewers or future developers. For example:
  • The feature in production triggers a service call so it will charge the account credit card
  • The service X is mocked so this part is not tested

JeffGuKang avatar Aug 04 '23 00:08 JeffGuKang

@emibotti @nicoache1 @santiagofm @mcousillas6 @blackbing @nonth @MarcoF09 @toshi3221 @ht-jo @jeong-sik @manikandanb24

Can someone with write access please handle this?

wacci6 avatar Jul 04 '24 11:07 wacci6

@xmartlabs Could you handle this PR?

wacci6 avatar Aug 19 '24 17:08 wacci6