-1

I run the RenderScript 4.0 sample like "Balls" in eclipse, but the project do not generate the ScriptC_balls.java (s) My ADT is 18,sdk is 15(4.0.3)

2 Answers2

0

There is not a lot of info to go on here but RenderScript and ADT are very sensitive to order and the autogen aspect can easily be confused. If simply cleaning the project doesn't work, try checking to make sure that the

#pragma rs java_package_name(name) 

corresponds with the package the .rs file is in. Sometimes when importing the sample RenderScript projects, the package names don't end up right. I usually just create a new project and import the source files and plan on fiddling with the package names to get it right.

Jared
  • 1,449
  • 2
  • 19
  • 40
0

All Right. Please Check your AndroidManifest.xml at first. Maybe here are some problems when you set. <uses-sdk android:minSdkVersion="17" android:targetSdkVersion="17" /> the version should be better larger than 15.

Theo Tian
  • 11
  • 2