kottpd icon indicating copy to clipboard operation
kottpd copied to clipboard

Including it causes build error about kotlin.jar already present

Open emacstheviking opened this issue 5 years ago • 5 comments

My first attempt to use it produced a fatal build error as it seems the JAR file already contains the kotlin libraries which clash with my AndroidStudio project. Is there something obviously stupid I haven't done to remove this error, otherwise I will have to download the project and import the source files directly which feels (a) unfair to you and (b) just wrong!

emacstheviking avatar May 08 '19 09:05 emacstheviking

I have the same issue - I get a number of duplicate class errors from gradle when attempting to build.

Duplicate class kotlin.xxx found in modules kotlin-stdlib-1.3.40.jar (org.jetbrains.kotlin:kotlin-stdlib:1.3.40) and kottpd-0.1.3.jar (com.github.gimlet2:kottpd:0.1.3)

davidbarkhuizen avatar Jul 26 '19 09:07 davidbarkhuizen

The obvious answer for me was to just take the source files and include them in my project! Sadly though I have not had the chance to work on it lately.

This is not the best answer but it does mean you can continue development at least.

HTH. Sean

On Fri, 26 Jul 2019 at 10:19, david barkhuizen [email protected] wrote:

I have the same issue - I get a number of duplicate class errors from gradle when attempting to build.

Duplicate class kotlin.xxx found in modules kotlin-stdlib-1.3.40.jar (org.jetbrains.kotlin:kotlin-stdlib:1.3.40) and kottpd-0.1.3.jar (com.github.gimlet2:kottpd:0.1.3)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gimlet2/kottpd/issues/14?email_source=notifications&email_token=AAGHNRIEY7P763YJ33AZ7E3QBK6QLA5CNFSM4HLQBIW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD24AHYQ#issuecomment-515376098, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGHNRNX7FUJYMKB3WHV2MDQBK6QLANCNFSM4HLQBIWQ .

emacstheviking avatar Jul 26 '19 09:07 emacstheviking

Thanks @emacstheviking, will do

davidbarkhuizen avatar Jul 26 '19 09:07 davidbarkhuizen

Remember to change tha package name as well if you move things araound....it caught me out for a minute!

On Fri, 26 Jul 2019 at 10:23, david barkhuizen [email protected] wrote:

Thanks @emacstheviking https://github.com/emacstheviking, will do

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gimlet2/kottpd/issues/14?email_source=notifications&email_token=AAGHNRKGHBRNPTJDBXERKPTQBK7CXA5CNFSM4HLQBIW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD24ATTY#issuecomment-515377615, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGHNRLKWTQYO7H44XCPNL3QBK7CXANCNFSM4HLQBIWQ .

emacstheviking avatar Jul 26 '19 09:07 emacstheviking

Thank you @emacstheviking for sharing and @davidbarkhuizen for helping. Can I ask you to try latest version 0.2.1 to check is it still an issue?

gimlet2 avatar Dec 09 '20 11:12 gimlet2