I have yet another port of Box2D available. This one is more a showcase of using the Eclipse CDT for NDK development. But I'm using it to make some games so it should be useful for others as well.
It's available on github:
Please read the README. The
android.mk file in the box2d is the real Makefile (I left the old one there). I've only tested this on Windows. And I'm using the latest Galileo Eclipse SDK (3.5) and CDT (6.0) with the latest Android plug-in.
I've ported the Hello World sample from box2d into an Android app using the Android Eclipse plug-in along side the CDT. I wrote my own Makefile to allow the native code to be co-resident in the Android project. Change the ANDROID_NDK_BASE variable to point to your NDK install. I'm sure there are assumptions made there that limit the flexibility. Also the CDT projects are set up assuming cygwin is in C:\cygwin. That can be changed in the C++ Build environment settings project properties.
Note that I don't have debug support for the CDT here yet. That'll require some CDT plug-in development. We could also use some automation to add native support to Android projects to set up the CDT. No promises, but I know I could use these. I'll add documentation of the steps I went through at least so you don't need to reverse engineer them :).
Let me know if you have any questions or run into problems. I'll keep updating the github repo with any fixes or README updates as needed.
Cheers,
Doug.