Fix bugs on Android SDK 8(It can run on Android2.2)