网上大多数的意见都是:装个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.
在尝试使用adbwireless进行无线调试时,遇到设备IP地址显示但无端口的问题,导致安装apk失败并出现‘New package not yet registered with the system’的错误。此情况可能与设备连接、adb设置或网络配置有关,需要检查adb版本、设备是否开启USB调试、WiFi是否在同一网络以及端口是否开放等。
3万+

被折叠的 条评论
为什么被折叠?



