Skip to content

Missing class in generated Ampli.kt file #329

Description

@hamen

Hi all,

I'm integrating Ampli in my current project and everything was fine until I run:

ampli pull

The Ampli.kt file that I find in my codebase does not compile, as we have this error:
image

I checked the Kotlin app example here, and I noticed that the groupIdentify() function in my file is slightly different from the one in the example.

If I replace my implementation with that one, I get to build the app, but my changes will be inevitably lost once I run ampli pull again.

Notes

My build.gradle contains

implementation("com.amplitude:android-sdk:2.36.3")
implementation("com.squareup.okhttp3:okhttp:4.9.3")

as from documentation.

I really need your help here.
Thanks

Activity

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

Metadata

Metadata

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