Renderscript samples build errors

后端 未结 1 880
旧时难觅i
旧时难觅i 2021-01-07 14:53

So I wanted to try out the samples that use RenderScript, and I imported HelloWorld in Eclipse. But it gives me errors like:

[2011-10-25 13:10:48 - HelloWorl         


        
相关标签:
1条回答
  • 2021-01-07 15:04

    this is a bug in the tools. It will be fixed, but there is a workaround:

    Replace /platforms/android-[11|12|13]/renderscript with the version located at /platforms/android-14/renderscript

    This will copy the newest headers into older platforms and make your project compile.

    Here's the bug: http://code.google.com/p/android/issues/detail?id=21006

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