Today I have started the OpenGL engine porting on Android using the Android NDK.
One of the preliminary activity is to upgrade the Android SDK so that the NDK will be able to talk to it in the proper way.
Since I use Eclise I have started the upgrade using the Eclipse ADT but, unfortunately, during the upgrade I got the following errors:
Unzip failed: Cannot run program "chmod": java.io.IOException: error=24,
I tried to figure out what was the problem either by using the ulimit tools or using standard linux troubleshooting techniques.
After a very long troubleshooting I have identified that both Ubuntu and Eclipse were well installed.
After I have tried almost everything, I have tried with an alternative solution by upgrading the SDK using the Android Manager but outside the Eclipse IDE and therefore without the ADT.
This solved my issue.
In order to do it, go into the tools directory of your android SDK and run the ./android command
This will open the android manager and from there you can follow the same steps you have tried in Eclipse with no chmod problem.
My configuration:
Ubuntu 10.10 64 bit
Eclipse Helios