Flex Hero: Android phone can't connect to Flash Debugger
I am building an Android application using Flex Hero. When I run the application I can package it fine on my mobile and run it on the device, however, as soon as I want to run in debug mode on the device, the device gives me a message like: "Can't connect to debugger (192.168.1.12). Enter IP-address or hostname"
The device is connected with a USB to the PC and USB debugging is enabled on the device. I have tried to开发者_开发百科 shut down the computer's firewall, but no result.
Any ideas on which other things I may look at?
Thanks, Anton
Some thoughts:
- Reinstall the debugger. Sometimes installation can poop out on me, and a reinstallation can help.
- Check your security settings. The debugger runs and a specific port, and this might be blocked on the firewall. Make sure your ports are open for this (the debugger runs on port 7935 I think by default).
- Restart Flex Builder. I've had issues before where you disconnect a debugging session and the SWFs are not properly unloaded.
- Add a breakpoint to your app (sometimes this works)
- Use this link to manually connect to your debugger (if possible).
精彩评论