I'm trying to run a renderscript sample from the Android SDK. The SDK comes with a bunch of samples. All of them compile fine, but they don't run: 05-25 21:04:56.470: VERBOSE/RenderScript(20521): Cache file for 'com.android.fountain:raw/fountain' '.oBCC' is '/data/data/com.android.fountain/cache/@com.android.fountain:r...@fountain.obcc' 05-25 21:04:56.470: WARN/bcc(20521): Unable to open /data/data/com.android.fountain/cache/@com.android.fountain:raw@fountain.oBCCin read mode. (reason: No such file or directory) 05-25 21:04:56.470: ERROR/bcc(20521): Unable to readBC, bitcode=0x17e820, size=2580 05-25 21:04:56.470: DEBUG/RenderScript(20521): >>>> ~ScriptC bccDisposeScript(0x17f328) 05-25 21:04:56.470: ERROR/RenderScript(20521): rsAssert failed: !mUserRefCount, in frameworks/base/libs/rs/rsObjectBase.cpp at 63 05-25 21:04:56.470: DEBUG/AndroidRuntime(20521): Shutting down VM 05-25 21:04:56.470: WARN/dalvikvm(20521): threadid=1: thread exiting with uncaught exception (group=0x401d0760) 05-25 21:04:56.480: ERROR/AndroidRuntime(20521): FATAL EXCEPTION: main android.renderscript.RSRuntimeException: Loading of ScriptC script failed. at android.renderscript.ScriptC.<init>(ScriptC.java:60) at com.android.fountain.ScriptC_fountain.<init>(ScriptC_fountain.java:32) at com.android.fountain.FountainRS.init(FountainRS.java:49) at com.android.fountain.FountainView.surfaceChanged(FountainView.java:59) at android.view.SurfaceView.updateWindow(SurfaceView.java:571) at android.view.SurfaceView.access$000(SurfaceView.java:84) at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:173) at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:590) at android.view.ViewRoot.performTraversals(ViewRoot.java:1325) at android.view.ViewRoot.handleMessage(ViewRoot.java:1944) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:126) at android.app.ActivityThread.main(ActivityThread.java:4002) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:491) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602) at dalvik.system.NativeStart.main(Native Method) I just run the samples as the come with the SDK. I have made no changes whatsoever to the source-code. Does anyone know what is going on and how it can be fixed? Thanks!
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en