Unable To Build Android's Helloworld In Renderscript
Solution 1:
There was an acknowledged problem with the compiler that prevented any of the samples from running. It was addressed here.
The workaround provided by the android team is to replace your platform-tools directory with the one from a previous release which uses the compiler from 3.0.
This fix worked for me.
Solution 2:
Hmmmm... This big yellow warning just popped up telling me this is not a discussion forum and I MUST ANSWER THE QUESTION! But since no one (including myself) really knows anything about Renderscript, I feel compelled to offer some assistance. And also because Google specifically points to StackOverflow as an Android resource. So apologies to the administrators!
Anyway, I've successfully run all the samples in Eclipse but NOT with the emulator. The emulator (at least on my machine) is hideously slow. I bought a Xoom and it's been pretty easy to get all the samples to run on it.
So if you're using Eclipse and an actual Xoom (not the emulator) then I suggest starting from scratch with a fresh Eclipse installation and a fresh Android SDK installation. And make sure you use the "New Android Project" to import the samples. There's a selection somewhere in the wizard that specifically addresses importing a sample.
Post a Comment for "Unable To Build Android's Helloworld In Renderscript"