format the interface of android and iOS ,change the dir struct