[英]Google Pixel 7 losing debugging connection in wireless debugging, also "Allow USB debugging" keeps on popping up cable connection
I have a Google Pixel 7 which I'm using for Android app development.我有一个用于 Android 应用程序开发的Google Pixel 7 。 I'm using it on 2 PCs, in both environment the phone produces the very same errors:
我在 2 台 PC 上使用它,在这两种环境中,手机都会产生完全相同的错误:
When I connect it via USB cable it keeps popping up the "Allow USB debugging" dialog no matter that I check the "allow" checkbox.当我通过 USB 电缆连接它时,无论我是否选中“允许”复选框,它都会不断弹出“允许 USB 调试”对话框。 Sometimes it keeps popping up 3-4 times in a minute which also results in a lost connection making development impossible.
有时它会在一分钟内不断弹出 3-4 次,这也会导致连接丢失,从而无法进行开发。
QR code wireless pairing with Android Studio rarely works.二维码无线配对 Android Studio 很少奏效。 Like 1-2 times from 10 tries, and it also loses connection in a few minutes.
就像 10 次尝试中的 1-2 次一样,它也会在几分钟内失去连接。 Same results with wireless connection using the "connect with code" option.
使用“使用代码连接”选项的无线连接结果相同。
Conculusions so far:目前的结论:
I experience all of the issues in both environment which makes me think the problem is not with the PCs and its softwares.我在这两种环境中都遇到了所有问题,这让我认为问题不在于 PC 及其软件。
The connection issues appear in both wireless and usb debugging which makes me think the phone itself has some built in error.连接问题出现在无线和 usb 调试中,这让我觉得手机本身有一些内置错误。
I tried all the solutions listed on other questions/answers in stackoverflow, also those issues are slightly different.我尝试了 stackoverflow 中其他问题/答案中列出的所有解决方案,这些问题也略有不同。
Please help if you can.如果可以的话请帮忙。
Android Studio has some problem for connecting devices through Wireless Debugging (QR code/Code pairing) which is evident on issue tracker page https://issuetracker.google.com/issues?q=status:open%20componentid:824897&s=created_time:desc . Android Studio 在通过无线调试(二维码/代码配对)连接设备时遇到一些问题,这在问题跟踪页面https://issuetracker.google.com/issues?q=status:open%20componentid:824897&s=created_time:desc上很明显.
But regarding USB debugging, I would suggest you try a different cable, if that doesn't work, try using a different device.但是关于 USB 的调试,我建议你换一根线试试,如果不行,换个设备试试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.