In my opinion this is a limitation of gradle and I posted a workaround in 
the stackoverflow link mentioned in the question.

Hopefully it gets fixed.

On Friday, April 11, 2014 4:10:27 PM UTC+2, Stas Stelle wrote:
>
> Hi,
> I am building an app with render script and use the render script mode in 
> Gradle.
>  The App itself works fine, but I totally fail at running tests with it, 
> because the test.apk also includes the android.support.v8.renderscript 
> package and during test runtime get
> java.lang.IllegalAccessError: Class ref in pre-verified class resolved to 
> unexpected implementation
>
> which makes my tests fail, because Android is confused. The apk under test 
> has the same package in it, which is needed. But it is not needed in the 
> test apk.
>
> I have this question on stackoverflow too:  
> http://stackoverflow.com/questions/22908147/illegalaccesserror-with-renderscript-support-library
>
> Thanks for any hints to make this work.
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" 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.

Reply via email to