Skip to content

RenderScript APIs are deprecated starting in Android 12 #149

Open
@Jackpate-2003

Description

@Jackpate-2003

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions