revise compile error for android