success build android apk

1. modify some server code to complie under linux
2. modify some build cfg and code to make success build android apk
3. can use DDMS see log