Search code examples
androidrenderscriptandroid-renderscript

Changes made to Renderscript File not reflecting in Emulator


Whenever I make changes to Renderscript and try running the emulator, the changes are not reflecting. I tried clean and build, invalidate the cache and restart but nothing helps. The changes reflect only when I delete the renderscript file and recreate the rs file with a different name, but this is cumbersome to do every time.

Any fix for this? I'm using build tools version 25.0.3 and API 26 in Emulator.

I understand the stack overflow community on renderscript is limited. So any help will be appreciated.


Solution

  • Thanks to Larry Schiefer.

    The link he mentioned refers to a similar issue.

    https://issuetracker.google.com/issues/37092933

    As mentioned in the link, a better alternative to this issue is to uninstall the app from device/emulator before running it.

    I've tried this fix and the renderscript changes are getting reflected.