Move to AndroidStudio, and fix some compile error, optimize codes.