compile the adb code,and modify the code to apply for the adb.