Hmmm...  It is working partially.  If I set the target in the 
project.properties to be 
"target=android-17"
I get the error 
Renderscript support mode requires compilation target API to be 18+.

I should say...  I'm rather surprised someone from Google hasn't replied 
here or on the Stackoverflow question 
here<http://stackoverflow.com/questions/18945058/can-not-run-renderscript-hellocompute-example-on-android-gb-2-3-5>.
 
 I know this looks like I just haven't updated the libraries or something 
but I guarantee you it's a bug in the Renderscript build tools.  I 
recognize that perhaps not many people are having this problem, but just 
because only a few are doesn't mean it isn't important.

The Support Library Features page 
(here<http://developer.android.com/tools/support-library/features.html#v8>) 
states that 'You should be aware that the steps for including these APIs in 
your application is very different from other support library APIs.'  I 
assume this is referring to the build mechanism that allows the 
Renderscript support library to be referenced even though a reference to 
the library isn't explicitly added.  Whatever this mechanism might be, it 
is not working in my project.

My project was originally built in Eclipse, then I migrated to Android 
Studio, and then am now back in Eclipse to use the Renderscript support 
library.  Perhaps that process has introduced a bug?

Thanks,
Reor


On Monday, October 28, 2013 10:12:36 AM UTC-7, Laikis Reor wrote:
>
> Hello All,
>
> So I was excited for the Renderscript support library but have had some 
> problems getting it to work.  Despite following the instructions at 
> http://developer.android.com/guide/topics/renderscript/compute.html#access-rs-apisI
>  still get the error 
> 'The import android.support.v8 cannot be resolved' at the line stating '
> import android.support.v8.renderscript.*;'
>
> Now, parts of the build tools are working correctly, at least.  The 
> autogenerated ScriptC_* classes are properly referencing the 
> android.support.v8.renderscript library, but of course they too aren't 
> compiling.
>
> Any ideas?
>
> Thanks,
> Reor
>
>
>
>

-- 
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
--- 
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to