Skip to content

Can't use the template without targetting Android #56

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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