1.delete bin and gen dir, 2.fix tack photo error on emulator