I tried to run this code on my Galaxy S4 but it crashes with the error below:
05-29 22:33:16.401 26233-26233/com.cleveroad.audiovisualization.example E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.cleveroad.audiovisualization.example, PID: 26233
android.view.InflateException: Binary XML file line #8: Error inflating class com.cleveroad.audiovisualization.GLAudioVisualizationView
at android.view.LayoutInflater.createView(LayoutInflater.java:626)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:702)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
at com.cleveroad.example.SpeechRecognitionFragment.onCreateView(SpeechRecognitionFragment.java:35)
Hi,
I tried to run this code on my Galaxy S4 but it crashes with the error below:
05-29 22:33:16.401 26233-26233/com.cleveroad.audiovisualization.example E/AndroidRuntime: FATAL EXCEPTION: main Process: com.cleveroad.audiovisualization.example, PID: 26233 android.view.InflateException: Binary XML file line #8: Error inflating class com.cleveroad.audiovisualization.GLAudioVisualizationView at android.view.LayoutInflater.createView(LayoutInflater.java:626) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:702) at android.view.LayoutInflater.rInflate(LayoutInflater.java:761) at android.view.LayoutInflater.inflate(LayoutInflater.java:498) at android.view.LayoutInflater.inflate(LayoutInflater.java:398) at com.cleveroad.example.SpeechRecognitionFragment.onCreateView(SpeechRecognitionFragment.java:35)