简体   繁体   English

GautamChibde 的音频可视化

[英]Audio visualization by GautamChibde

I wanted to use the audio viewer made by GautamChibde https://github.com/GautamChibde/android-audio-visualizer But in the rendering I can't see it.我想使用 GautamChibde 制作的音频查看器https://github.com/GautamChibde/android-audio-visualizer但是在渲染中我看不到它。 It gives me this error: java.lang.ClassNotFoundException:android.media.audiofx.Visualizer$OnDataCaptureListener它给了我这个错误:java.lang.ClassNotFoundException:android.media.audiofx.Visualizer$OnDataCaptureListener

Anyone by any chance know where the problem is???任何人都知道问题出在哪里???

在此处输入图像描述

build.gradle: build.gradle: 在此处输入图像描述

activity.xml:活动.xml:

<com.chibde.visualizer.SquareBarVisualizer
    android:id="@+id/visualizer"
    android:layout_width="match_parent"
    android:layout_height="250dp"/>

thanks.谢谢。

do you try rstart IDE for your android studio or clicked repair IDE in 5 steps for ur project?您是为您的 android 工作室尝试 rstart IDE 还是为您的项目单击 5 步修复 IDE? if you don't that:如果你不这样做:

 1- click file tab 
 2-then Restart IDE and reopen it 
 3- and if not fix and show click file
 4- Repair IDE in 5 steps in down your split layout if not fix
 5- click Invalidate Cashes and Restart in the same file tab 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM