0

I am about to use external libraries but they does not work, when i look at them i found this

    // This class file was compiled with different version of Kotlin compiler and can't be decompiled.
//
// Current compiler ABI version is 1.1.16
// File ABI version is 1.5.1

so i was wondering how to update my compiler Abi version and also, should i be worried about, may some other external libraries conflict with this? It is posible to manage different compiler ABI version?

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343

1 Answers1

0

The Kotlin compiler should provide for specifying source and target version compatibility.

tony.ganchev
  • 596
  • 4
  • 14
  • Hi Tony, i am kind new on this topic of compilers, i really cant understand to much, what code should i use to change my Current compilar Abi version? – Rodrigo Barboza Aug 25 '21 at 20:38
  • Rodrigo, can you go through this previous thread: https://stackoverflow.com/questions/67448034/module-was-compiled-with-an-incompatible-version-of-kotlin-the-binary-version. There are a number of better answers than mine. I am not a Kotlin but a Java developer myself. Specifically the cannot-decompile error points to your IDE using an older Kotlin version than what the library was compiled with - can you update your IDE? – tony.ganchev Aug 25 '21 at 20:45
  • thats is the part that i missing, because i go to the Settings-> kotlin compiler an it says LanguageVersion (Latest stable 1.3) ////ApiVersion (Latest stable 1.3)//// Target JVM Version (1.6)//// I was expecting to find something like ABI CompilerVersion (1.1.16) Thats why i dont know where to update it – Rodrigo Barboza Aug 25 '21 at 20:59
  • Can you try switching to Kotlin up to 1.5 and maybe JVM to 1.8. – tony.ganchev Aug 25 '21 at 21:35
  • there i did it, but no succed :/ – Rodrigo Barboza Aug 26 '21 at 02:48