Hello Android Community, I am developing an Androi...
# android
s
Hello Android Community, I am developing an Android App and it is using a Java Dependency which uses
java/nio/file/paths
extensively. But these classes were added in Android Api 26 , and hence not available on earlier versions like marshmallow and nougat. I came around the Concept of
Desugaring
which as per my understanding add Source Files to the android app if they are unavailable on Android Target. So how can I accomplish adding java/nio/file/paths , java/nio/file/files classes when Building Android App. Am I missing something as desugaring doesnt add the classes and App crashes by giving:
java.lang.NoClassDefFoundError: Failed resolution of: Ljava/nio/file/Paths;
😶 6