amplitude / Amplitude-Kotlin

Amplitude Kotlin SDK
MIT License
27 stars 10 forks source link

Amplitude-Kotlin SDK use ampli CLI #151

Closed Jake-Jiang closed 10 months ago

Jake-Jiang commented 10 months ago

I used com.amplitude:android-sdk before to generate the Ampli.kt file through ampli CLI. Now I am going to use Android Kotlin SDK. The Ampli.kt generated before has compilation errors. How can I generate a new Android Kotlin SDK corresponding through ampli CLI?

liuyang1520 commented 10 months ago

Hi @Jake-Jiang , thanks for supporting Amplitude!

So Ampli codegen is associated with the Source in Amplitude Data, could you try to change the Runtime of the associated Source to Kotlin then try ampli pull?

Thanks!

Jake-Jiang commented 10 months ago

Thanks!