问题
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.
回答1:
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.
来源:https://stackoverflow.com/questions/48295430/changes-made-to-renderscript-file-not-reflecting-in-emulator