chang android mk file and fix some bugs