Addition of Renderscript in Android studio 1.0.1 with API @ 21 and SDKTools @ 21.1.2 causes build errors

后端 未结 1 1806
臣服心动
臣服心动 2020-12-19 21:08

I am attempting to port an Android 4.4 to Android 5.0. My application utilizes Renderscript. Currently the renderscript application is very simple

#pragma ve         


        
相关标签:
1条回答
  • 2020-12-19 21:43

    You can't use support mode when targeting API 21 (or higher) right now. If you are intending to actually use API 21+, you need to switch to the native RS APIs instead (and remove the renderscriptSupportModeEnabled).

    0 讨论(0)
提交回复
热议问题