android-visualizer icon indicating copy to clipboard operation
android-visualizer copied to clipboard

Get ERROR_BAD_VALUE

Open nonla opened this issue 11 years ago • 2 comments
trafficstars

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.

nonla avatar Apr 26 '14 09:04 nonla

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 ;

grcg2000 avatar Feb 05 '18 16:02 grcg2000

permission.RECORD_AUDIO error resolved

1211amarsingh avatar May 27 '19 18:05 1211amarsingh