react-native-image-filter-kit icon indicating copy to clipboard operation
react-native-image-filter-kit copied to clipboard

RenderScript APIs are deprecated starting in Android 12

Open Jackpate-2003 opened this issue 4 months ago • 1 comments

Recently I upgraded my Expo version to 50 and set compileSdkVersion to version 34. After building the project, I was facing a failure in the Task :react-native-image-filter-kit:compileDebugJavaWithJavac stage, which was related to the removal of RenderScript APIs in Android 12 and later. I solved this problem by adding the following code in the android section:

buildFeatures {
         renderScript true
     }

But RenderScript support is supposed to be removed in the next version of gradle (I think version 9):

Task :react-native-image-filter-kit:compileDebugRenderscript RenderScript APIs are deprecated starting in Android 12. RenderScript support will be removed in a future version of the Android Gradle plugin. See the follow ing link for a guide to migrate from RenderScript: https://developer.android.com/guide/topics/renderscript/migrate

Is the repository updated for changes?

Jackpate-2003 avatar Apr 08 '24 10:04 Jackpate-2003