开发者

How to build the HelloWorld RenderScript application in eclipse?

开发者 https://www.devze.com 2023-02-27 00:02 出处:网络
How to build the HelloWorld RenderScript application in eclipse? The HelloWorld RenderScript is from sdk/samples/android-11/RenderScript. I read the relevant article in

How to build the HelloWorld RenderScript application in eclipse? The HelloWorld RenderScript is from sdk/samples/android-11/RenderScript. I read the relevant article in [1]: http://developer.android.com/guide/topics/graphics/renderscript.html, which say: ScriptC_helloworld:This class is generated by the Android build tools 开发者_如何学Cand is the reflected version of the helloworld.rs Renderscript. But when I import this application into eclipse and build it, I can't find the ScriptC_helloworld. Who can help me? Thank you very much!


The Script_C classes are all generated by the Android SDK during the build.

Did you import the project using the New Android Project wizard? Go to file/new/android project. And then select "create project from existing sample."

And did you go through all the steps to install the Android SDK in Eclipse?

If you think the SDK is installed properly and you used the Android wizard to import the sample project then you can try doing project/clean. If it works then you should see several files appear under the gen directory.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号