Skip to content

Cannot compile latest version on Android #152

@kingston

Description

@kingston

I was able to integrate the library just fine on iOS, but when I tried to compile on Android, I got the following error:

FAILURE: Build failed with an exception.

* Where:
Build file '/.../node_modules/@segment/analytics-react-native/android/build.gradle' line: 16

* What went wrong:
A problem occurred evaluating project ':@segment_analytics-react-native'.
> Could not get unknown property 'defaultKotlinVersion2' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

I was able to get it to compile on 1.1.0 but the latest 1.1.1-beta version appears to error out on compile.

Digging around - not sure if somehow this commit 3c29a88#diff-53e51ee8427e664794253d1b95f14fcb caused some incompatibilities with my build setup?

OS: Mac OSX 10.15.3
Command: react-native run-android
React Native: 0.61.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions