gpt4 book ai didi

Android jAudioTagger 问题 - 读取 mp3 文件 - VerifyError

转载 作者:行者123 更新时间:2023-11-30 04:50:38 28 4
gpt4 key购买 nike

我有以下错误但无法解决问题,我正在读取 MP3 文件,并且在尝试写入 MP4 文件时似乎出现以下错误。

AudioFile f = AudioFileIO.read(m_file.get(x));

调用上述方法并传递第一个 MP3 文件后出现错误

08-27 09:51:47.671: ERROR/dalvikvm(4485): Could not find class     'javax.swing.tree.DefaultMutableTreeNode', referenced from method     org.jaudiotagger.audio.mp4.Mp4TagWriter.write
08-27 09:51:47.671: WARN/dalvikvm(4485): VFY: unable to resolve check-cast 303 (Ljavax/swing/tree/DefaultMutableTreeNode;) in Lorg/jaudiotagger/audio/mp4/Mp4TagWriter;
08-27 09:51:47.671: WARN/dalvikvm(4485): VFY: rejecting opcode 0x1f at 0x00aa
08-27 09:51:47.671: WARN/dalvikvm(4485): VFY: rejected Lorg/jaudiotagger/audio/mp4/Mp4TagWriter;.write (Lorg/jaudiotagger/tag/Tag;Ljava/io/RandomAccessFile;Ljava/io/RandomAccessFile;)V
08-27 09:51:47.671: WARN/dalvikvm(4485): Verifier rejected class Lorg/jaudiotagger/audio/mp4/Mp4TagWriter;
08-27 09:51:47.671: WARN/dalvikvm(4485): threadid=17: thread exiting with uncaught exception (group=0x4001da28)
08-27 09:51:47.681: ERROR/AndroidRuntime(4485): Uncaught handler: thread MagentoBackground exiting due to uncaught exception
08-27 09:51:47.781: ERROR/AndroidRuntime(4485): java.lang.VerifyError: org.jaudiotagger.audio.mp4.Mp4TagWriter
08-27 09:51:47.781: ERROR/AndroidRuntime(4485): at org.jaudiotagger.audio.mp4.Mp4FileWriter.<init>(Mp4FileWriter.java:36)
08-27 09:51:47.781: ERROR/AndroidRuntime(4485): at org.jaudiotagger.audio.AudioFileIO.prepareReadersAndWriters(AudioFileIO.java:244)
08-27 09:51:47.781: ERROR/AndroidRuntime(4485): at org.jaudiotagger.audio.AudioFileIO.<init>(AudioFileIO.java:182)
08-27 09:51:47.781: ERROR/AndroidRuntime(4485): at org.jaudiotagger.audio.AudioFileIO.getDefaultAudioFileIO(AudioFileIO.java:126)
08-27 09:51:47.781: ERROR/AndroidRuntime(4485): at org.jaudiotagger.audio.AudioFileIO.read(AudioFileIO.java:148)
08-27 09:51:47.781: ERROR/AndroidRuntime(4485): at it.cloudspace.rhythmrunner.main.getSongs(main.java:115)
08-27 09:51:47.781: ERROR/AndroidRuntime(4485): at it.cloudspace.rhythmrunner.main.access$3(main.java:103)
08-27 09:51:47.781: ERROR/AndroidRuntime(4485): at it.cloudspace.rhythmrunner.main$2.run(main.java:62)
08-27 09:51:47.781: ERROR/AndroidRuntime(4485): at java.lang.Thread.run(Thread.java:1060)
08-27 09:51:47.871: INFO/Process(76): Sending signal. PID: 4485 SIG: 3
08-27 09:51:47.871: INFO/dalvikvm(4485): threadid=7: reacting to signal 3
08-27 09:51:48.271: INFO/dalvikvm(4485): Wrote stack trace to '/data/anr/traces.txt'
08-27 09:51:48.301: ERROR/vending(4501): com.android.vending.api.LocalAssetDatabase.buildPackageNameMap(): Multiple assets with package name com.google.android.apps.unveil
08-27 09:51:48.311: ERROR/vending(4501): com.android.vending.api.LocalAssetDatabase.buildPackageNameMap(): Multiple assets with package name com.amazon.kindle
08-27 09:51:54.061: DEBUG/dalvikvm(3189): GC freed 13924 objects / 712680 bytes in 590ms

最佳答案

正在安装 Android 端口,上述错误是由于某些 Swing 库在 Android 中不可用

关于Android jAudioTagger 问题 - 读取 mp3 文件 - VerifyError,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3582692/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com