Changes made to Renderscript File not reflecting in Emulator

喜夏-厌秋 提交于 2019-12-13 03:31:50

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!