iOS and Android Debugging

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Hoping someone can help me out with debugging. I have installed all of the prerequisites on both Mac and Windows. Trying to debug in the iOS emulator, I get an error that the iOS web proxy is not running. When I start the proxy it says "Unable to bind "devices list" on port 9221-9221". For Android, when trying to debug, I get the message "Exception occurred while executing:

java.lang.IllegalArgumentException: Unknown package:" and then my app name.

Any help is appreciated.

Thanks!

@Reid Fwvnco​ can you take a look?

Hi:

Just to ask the initial question, what version of Visualizer and xCode are you running?

I'm able to debug with iOS using Safari and WebInspector. When in the debug process do you get the error message you are seeing?

For Android, are you testing with a device or simulator?

Hi and thank you for replying.

I did manage to get Safari debugging with the emulator, but only when I choose "run as". If I choose "Debug as iOS Application in Simulator", I get the "Unable to bind "devices list" error.

For Android, I am trying to test with the simulator. I have Android Studio installed as well. Visualizer tries to run the app on the emulator, but returns with the "Unknown Package" error. I should also note that the message right before the error is:

"Launching emulator

* daemon not running; starting now at tcp:5037

* daemon started successfully

emulator-5554

Uninstalling kony application".

I find this odd as there is no Kony app on the emulator yet.

I am using Visualizer Enterprise Version 8 Service Pack 3 on both Mac and Windows. Xcode is 10.1.

Hi:

Can you confirm you've selected "Support x86" for the emulator in the Project Properties, Native/Android tab?

You'll see the "uninstall..." message everytime, as the first thing it does is remove the old app. First time through, there is no app to remove, but it still tries and fails.

Hope this helps.

Hi and sorry for the delay.

That worked. - the Support x86 flag.

Thank you very much!

Regards,