Skip to content

Can't use the template without targetting Android #56

@oSumAtrIX

Description

@oSumAtrIX

The template suggests that you can use it for platforms other than Android. However when you remove the Android target you get this error:

Could not create task ':library:bundleAndroidMainClassesToCompileJar'.
Namespace not specified. Specify a namespace in the module's build file like so:
kotlin {
    androidLibrary {
        namespace = "com.example.namespace"
    }
}

A KMP library should not mandatorily have to target Android.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions