Android API 16-18 (jaudiotagger-2.2.5.jar)

Issue #174 wontfix
Михаил Горбенко created an issue

AudioFileIO.read(new File("path to file")) crash

java.lang.NoClassDefFoundError: java.nio.charset.StandardCharsets at org.jaudiotagger.audio.mp3.LameFrame.parseLameFrame(LameFrame.java:75) at org.jaudiotagger.audio.mp3.XingFrame.<init>(XingFrame.java:105) at org.jaudiotagger.audio.mp3.XingFrame.parseXingFrame(XingFrame.java:192) at org.jaudiotagger.audio.mp3.MP3AudioHeader.seek(MP3AudioHeader.java:222) at org.jaudiotagger.audio.mp3.MP3AudioHeader.<init>(MP3AudioHeader.java:139) at org.jaudiotagger.audio.mp3.MP3File.<init>(MP3File.java:478) at org.jaudiotagger.audio.mp3.MP3FileReader.read(MP3FileReader.java:39) at org.jaudiotagger.audio.AudioFileIO.readFile(AudioFileIO.java:355) at org.jaudiotagger.audio.AudioFileIO.read(AudioFileIO.java:198)

StandardCharsets was added in API Level 19. It is not available for any of the Jelly Bean versions of Android.

Comments (4)

  1. Log in to comment