The invention relates to the technical field of communication, in particular to a method and a device for testing a terminal based on the Android, solving the problem that currently, testing software is required to be designed according to different chips during development. The method provided by the embodiment of the invention comprises the following steps: establishing Socket connection between a testing terminal and a terminal to be tested via an ADB interface; and via the established Socket connection, achieving signal interaction and data transmission between the testing terminal and the terminal to be tested by adopting a communication protocol supported by the ADB interface. According to the invention, since the Socket connection between the testing terminal and the terminal to be tested is established via the ADB interface, when terminals to be tested, which are based on different hardware platforms, are tested, communication can be achieved as long as a communication protocol supported by the ADB interface is adopted, therefore, different testing software is not required to be developed to aim at different hardware platforms, and further development repeatability of the testing ware is reduced.