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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.