Closed rohansohonee closed 4 years ago
ID3Tags.java line 323
throw new IllegalArgumentException("NoSuchMethodException: Error finding constructor to create copy:"+copyObject.getClass().getName());
This exception is only thrown in release mode.
Hi, can you send me your snippet of code? I can't reproduce the error in my code
I have the same problem. The release mode compiled by flutter 1.12.13 can't read the tags.
这个是由于flutter默认开启了混淆代码导致的,只需要在混淆配置proguard-rules.pro
文件中排除掉 org.jaudiotagger
-keep class org.jaudiotagger.** { *; }
@mrdong916 solution works. Closing this issue.
Thank you @mrdong916 , I will update the library as soon as possible. Unfortunately in these days I was full of work and I was not able to search the bug. I really appreciate what you've done.
The above exception occurs only in flutter release mode. JAudioTagger library is causing this issue. Can you fix this bug???