Skip to content

Java project compability #4

@odemolliens

Description

@odemolliens

Using .native. as a package name is not permitted in Java classes, as "native" is a reserved keyword in Java.
Screenshot 2024-11-19 at 07 35 57

Workaround:

Intermediate Kotlin File: Create an intermediate file in Kotlin to handle the issue.

Screenshot 2024-11-19 at 07 36 47

Java Integration: Call the intermediate Kotlin file from your Java code.
Screenshot 2024-11-19 at 07 35 18

Recommended Solution:
Please rename the native package to a different name. This should resolve the issue completely.

This problem is linked to #3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions