Skip to content

Could not determine the dependencies of task ':voximplant_react-native-foreground-service:bundleLibCompileToJarDebug'. #68

@kNikKumar

Description

@kNikKumar

Hi,

I am getting an error on react native, android build :

Could not determine the dependencies of task ':voximplant_react-native-foreground-service:bundleLibCompileToJarDebug'.
> Could not create task ':voximplant_react-native-foreground-service:compileDebugJavaWithJavac'.
   > In order to compile Java 9+ source, please set compileSdkVersion to 30 or above

In my build.gradle I am using correct sdk versions

compileSdkVersion = Integer.parseInt(findProperty('android.compileSdkVersion') ?: '33')
targetSdkVersion = Integer.parseInt(findProperty('android.targetSdkVersion') ?: '33')

Java version : 17
@voximplant/react-native-foreground-service: "^3.0.2",

Is this not compatible with java 17.

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