Menu

Java.lang.verifyError. Lib JavaFlacEncoder

Help
Timue
2013-02-27
2013-05-30
  • Timue

    Timue - 2013-02-27

    I successful connected lib JavaFlacEncoder.

    When i instantiated class FLAC_FileEncoder:

    FLAC_FileEncoder mFlacEncode_file = new FLAC_FileEncoder();
    i get:

    E/AndroidRuntime(16139): java.lang.VerifyError: javaFlacEncoder/FLAC_FileEncoder
    But when i instantiate class FLAC_Encoder(also from this library) compile without errors.

    With such a mistake I did not face before. On the Internet, I also found that someone that had the same bug in the library JavaFlacEncoder

     
  • Preston Lacey

    Preston Lacey - 2013-02-27

    I haven't developed on Android before, so I can't tell you exactly how to debug this, but I can tell you what it appears to be: The JavaFlacEncoder wasn't built specifically for Android, and Android lacks many standard java classes and methods. Among those lacking is the javax.sound api, which FLAC_FileEncoder depends on. Your error logs should tell you which class and method specifically is failing, but it should be ones from the javax.sound package.  You'll likely need to remake that class using Android sound api's instead.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.