Shabinder Singh
04/18/2021, 6:01 PMjava/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;