[英]Why can't I debug a Delphi XE7 Android app on my device?
I am able to debug on an Android Emulator, but when I want to debug on ASUS Memorypad 7
it doesn't work. 我可以在Android模拟器上进行调试,但是当我想在
ASUS Memorypad 7
上进行调试时不起作用。
After I hit cancel it gives the following message: 我点击取消后,它会显示以下消息:
Unable to start gdbserver on port '64311'. Port is already in use.
I have changed the port several times in the Run parameters, but it still gives the same message. 我已经在“运行”参数中多次更改了端口,但它仍然给出相同的消息。
Try restarting everything first. 尝试先重新启动所有内容。 Then follow Embarcadero`s guide:
然后按照Embarcadero的指南进行操作:
Unable to start gdbserver on port : Port is already in use
无法在端口上启动gdbserver:端口已在使用中
where is the port number being used by the Android gdbserver: Android gdbserver使用的端口号在哪里:
Power off or restart your Android device and then run your application again. 关闭电源或重新启动您的Android设备,然后再次运行您的应用程序。
Choose another debug port: 选择另一个调试端口:
Select Run > Parameters and enter the following in the Parameters field: 选择运行>参数,然后在参数字段中输入以下内容:
-debugport=<n> where <n> is an alternate debug port, such as 54321.
Then click OK. 然后单击确定。
In the end I needed to get another device. 最后,我需要购买另一台设备。 I'm using Huawei's MediaPad M1 8.0 now and that works after I installed HiSuite.
我现在正在使用华为的MediaPad M1 8.0,并且在安装HiSuite后可以使用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.