android-visualizer
android-visualizer copied to clipboard
Get ERROR_BAD_VALUE
Hello,
I have just imported your project and then built for the first time but I get an error. 04-26 15:58:56.538: E/AndroidRuntime(1654): Caused by: java.lang.RuntimeException: Cannot initialize Visualizer engine, error: -4
Google give me nothing except that that above returned code is ERROR_BAD_VALUE (Operation failed due to bad parameter value).
I think it is because my device does not support Visualizer engine. So, how can I do in this case?
Thank you.
hi i had the same issue and i solve it when i got the permission.RECORD_AUDIO with two activities such as BaseActivity that it has a method named onRequestPermissionsResult and PermissionHandler Activity that checks the permissions And Done ;
permission.RECORD_AUDIO error resolved