在Android中使用jtransform时发生异常-java.lang.NoClassDefFoundError:edu.emory.mathcs.jtransforms.fft.DoubleFFt_1D [英] Exception when using jtransform in android - java.lang.NoClassDefFoundError: edu.emory.mathcs.jtransforms.fft.DoubleFFt_1D
问题描述
当我使用jTransform时.
When I am using jTransform.
https://sites.google.com/site/piotrwendykier/software/jtransforms
使用我的应用程序对我的pcm数据执行FFT时,我遇到了异常
with my app to perform FFT to my pcm data, I got the exception
java.lang.NoClassDefFoundError: edu.emory.mathcs.jtransforms.fft.DoubleFFt_1D
在我的应用程序中添加jtransform.jar
的同时,还更新了构建路径.
while I added the jtransform.jar
in my app.And also update the build path.
推荐答案
1.在Project properties-> Java build path-> Order and export中,检查所有添加的依赖项,以将它们包含在项目类文件中.
1.In Project properties -> Java build path -> Order and export, check all your added dependencies to be included with project class files.
2.选择"Android工具">修复项目属性"
2.Select Android Tools > Fix Project Properties
比运行您的应用程序要好.它的工作完美.
Than run your app. Its work perfectly.
这篇关于在Android中使用jtransform时发生异常-java.lang.NoClassDefFoundError:edu.emory.mathcs.jtransforms.fft.DoubleFFt_1D的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!