1、把手机连接到电脑,并打开豌豆荚
2、等待其连接成功
3、打开eclipse
4、选中你要测试的项目
5、点击run--run as--android application
6、选择你的手机设备,点击ok
7、这时候看你的手机,程序就跑起来了