Hey guys.. I have a question regarding a kotlin li...
# android
c
Hey guys.. I have a question regarding a kotlin library I’m building for the JVM. This library should be usable in android projects and regular kotlin/java projects. I’m targeting Java 1.8 which is only partly supported by android 4.4 - However I need the library to perfectly work with android 4.4. I have had some issues where some features of java 1.8 would obviously not work on Android 4.4 and I’ve only detected those at runtime on android. What method would you suggest to avoid this issues…? Is there any linter that would check wether there are features of Java 1.8 I’m using in my code that wouldn’t run on android 4.4? Thank you in advance 😛
g
Why not just compile library with Java 7 target?
And Java 8 is not supported on Android 4.4, only with desugar and only part of features