简体   繁体   中英

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.

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:

Unable to start gdbserver on port : Port is already in use

where is the port number being used by the Android gdbserver:

Power off or restart your Android device and then run your application again.

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.

Link Reference

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM