Search code examples
androidrenderscriptpragma

RenderScript Pragma Error


I'm trying to use renderscript and it gives me the error that pragma name is not correct.I'm using pragma like this:

#pragma rs java_com.example.shahryar.ripplerenderscript

is it wrong?


Solution

  • The form should be:

    #pragma rs java_package_name(java_com.example.shahryar.ripplerenderscript)