网上大多数的意见都是:装个adbwireless,然后会弹出一个ip地址加端口。我的为什么只有ip没有端口呢。调试半天一直是:[2014-11-15 14:02:21 - android_2] Failed to install android_2.apk on device '192.168.1.100:5555': timeout
[2014-11-15 14:02:21 - android_2] Launch failed on device: 192.168.1.100:5555
[2014-11-15 14:02:21 - android_2] Starting activity com.example.android_2.MainActivity on device 192.168.1.100:5555
[2014-11-15 14:02:22 - android_2] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2014-11-15 14:02:25 - android_2] Starting activity com.example.android_2.MainActivity on device 192.168.1.100:5555
[2014-11-15 14:02:27 - android_2] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2014-11-15 14:02:30 - android_2] Starting activity com.example.android_2.MainActivity on device 192.168.1.100:5555
[2014-11-15 14:02:31 - android_2] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2014-11-15 14:02:34 - android_2] Starting activity com.example.android_2.MainActivity on device 192.168.1.100:5555
[2014-11-15 14:02:36 - android_2] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2014-11-15 14:02:39 - android_2] Starting activity com.example.android_2.MainActivity on device 192.168.1.100:5555
[2014-11-15 14:02:41 - android_2] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.android_2/.MainActivity }
[2014-11-15 14:02:41 - android_2] ActivityManager: Error type 3
[2014-11-15 14:02:41 - android_2] ActivityManager: Error: Activity class {com.example.android_2/com.example.android_2.MainActivity} does not exist.
1 回答
youngjoys
TA贡献2条经验 获得超0个赞
已解决。
adbwireless有一个设置默认端口,我的默认端口是8555.所以连接adb connect 192.168.1.100:8555就行。
- 1 回答
- 0 关注
- 4154 浏览
添加回答
举报
0/150
提交
取消