kotlin-examples icon indicating copy to clipboard operation
kotlin-examples copied to clipboard

Kotlin Android proguard sample deadly needed!!

Open maomaobug opened this issue 10 years ago • 4 comments

maomaobug avatar Oct 29 '15 12:10 maomaobug

What is your use case? What doesn't work?

abreslav avatar Nov 03 '15 12:11 abreslav

As far as I was reading there should be no special proguard treatment needed for kotlin - it is the same as for plain java. But I am also experiencing problems when converting certain classes to kotlin ( have not yet found out a pattern which classes cause these problems - but e.g. these made a problem recently: https://github.com/ligi/PassAndroid/commit/8cc062c4511962b489284d4ca3cc5d01fcfa4ac7 ) The app runs - but when running proguard I get "can't find referenced class" errors for the converted classes

ligi avatar Apr 17 '16 19:04 ligi

@ligi Please report your issue to https://youtrack.jetbrains.com/issues/KT

abreslav avatar Apr 19 '16 07:04 abreslav

Despite the fact that there's nothing Kotlin-specific that needs to be done in ProGuard rules, it still makes sense to have such an example

abreslav avatar Apr 19 '16 07:04 abreslav