1, download Robotium source code.
Step 2 decompress.
3. Command line enters the decompressed source package to execute mvn eclipse:eclipse.
The main function of this command is automatic generation. Project documents required for the Elicpse project. The source code downloaded from github does not have this file, which means it is not from the eclipse project by default.
It should be noted here that this command runs at the top level of the project, but the corresponding project information is written in. The project is placed in the robotium-solo folder of the top-level directory, so that you don't need to specify the top-level directory of the project when importing in the future.
4. import Maven project
A. import an existing Maven project.
B. Select the import project path. Remember that this is not the top-level "robotium-master", but the "robotium-solo" in its subdirectory.
C. click finish to complete the project import.