Skip to content

unknown property 'destinationDir' React Native ver. 0.82.0 #50

@ArturBuja

Description

@ArturBuja

After upgrading to React Native 0.82, the build fails with the following error:

A problem occurred configuring project ':eabdullazyanov_react-native-sms-user-consent'.
Could not get unknown property 'destinationDir' for task ':eabdullazyanov_react-native-sms-user-consent:compileDebugJavaWithJavac' of type org.gradle.api.tasks.compile.JavaCompile.

This library’s build.gradle script still uses the deprecated destinationDir property for JavaCompile and Javadoc tasks.
Starting from Android Gradle Plugin (AGP) 8.x (which ships with React Native 0.82), the destinationDir property has been completely removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions