demantz / android_dsp_lib

Digital Signal Processing library for Android based on RenderScript
GNU General Public License v2.0
26 stars 5 forks source link

Android / RenderScript issues #2

Open demantz opened 9 years ago

demantz commented 9 years ago

I am completely new to RenderScript. I had a lot of issues getting it to work for me just because of the weak documentation. I made many mistakes and might still have errors in my code.

But it seems like RenderScript is also still not as stable as I thought at the beginning. So I start this issue to collect and discuss some links to Android bug reports which might affect this DSP library. (Background for my research is the fact that the DSP library seems to crash on many different devices/android-images for no reason)

demantz commented 9 years ago

On Nexus 7 2012 with Android 4.3 (API level 18):

D/dalvikvm(10005): Late-enabling CheckJNI I/ANDROID_DSP_BENCHMARK(10005): onCreate: log path: /storage/emulated/0/android_dsp_lib_benchmark_log.txt I/ANDROID_DSP_BENCHMARK(10005): Benchmark for the Android DSP library version 1.03 by Dennis Mantz. I/ANDROID_DSP_BENCHMARK(10005): Device Manufacturer: asus I/ANDROID_DSP_BENCHMARK(10005): Device Model: Nexus 7 I/ANDROID_DSP_BENCHMARK(10005): API-Level: 18 I/ANDROID_DSP_BENCHMARK(10005): D/dalvikvm(10005): GC_CONCURRENT freed 192K, 4% free 7671K/7932K, paused 392ms+1ms, total 417ms D/libEGL (10005): loaded /system/lib/egl/libEGL_tegra.so D/libEGL (10005): loaded /system/lib/egl/libGLESv1_CM_tegra.so D/libEGL (10005): loaded /system/lib/egl/libGLESv2_tegra.so D/OpenGLRenderer(10005): Enabling debug mode 0 I/Choreographer(10005): Skipped 40 frames! The application may be doing too much work on its main thread. E/RenderScript_jni(10005): No GC methods D/dalvikvm(10005): No JNI_OnLoad found in /system/lib/libRSSupport.so 0x4216df18, skipping init E/dalvikvm(10005): ERROR: couldn't find native method E/dalvikvm(10005): Requested: Landroid/support/v8/renderscript/RenderScript;._nInit:()V E/dalvikvm(10005): JNI posting fatal error: RegisterNatives failed for 'android/support/v8/renderscript/RenderScript', aborting I/dalvikvm(10005): "main" prio=5 tid=1 NATIVE

Related links: https://code.google.com/p/android/issues/detail?id=71347