mpatric / mp3agic

A java library for reading mp3 files and reading / manipulating the ID3 tags (ID3v1 and ID3v2.2 through ID3v2.4).
MIT License
1.2k stars 310 forks source link

Replace Ljava/nio/file/Paths; use? #184

Open Shabinder opened 3 years ago

Shabinder commented 3 years ago

If I use this Library in Android , I cant support older versions like below Api 26, bcuz of Failed resolution of: Ljava/nio/file/Paths; As java/nio/file/Paths isnt available below Api 26. So if possible , can u consider refactoring the library to use another approach? if possible.

detailed error stack trace:


Fatal Exception: java.lang.NoClassDefFoundError: Failed resolution of: Ljava/nio/file/Paths;
       at com.mpatric.mp3agic.FileWrapper.<init>(FileWrapper.java:21)
       at com.mpatric.mp3agic.Mp3File.<init>(Mp3File.java:57)
       at com.mpatric.mp3agic.Mp3File.<init>(Mp3File.java:45)