Hello, I'm trying to learn RenderScript, have downloaded the LivePreview sample code from h ttps://android.googlesource.com/platform/frameworks/rs/+/master/java/tests/.
I use Eclipse still for IDE. This sample is a fairly simple app, has a single .rs file (yuv.rs). This code does not use the support library. Eclipse is creating gen/ScriptC_yuv.java which shows an import for the support library: import android.support.v8.renderscript.*; even though I'm not using the support library...the two main java classes in the app import android.renderscript.*; *I'd like to understand how this "gen" class is created and if I can force the import to* : import android.renderscript.*; While I could try to use the support library, I've found that it doesn't support the RenderScript Allocation.setSurface() method, which this sample app uses, so this has led to a different dead-end. Any guidance would be appreciated! Chris -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

