Unsupported type class in HTTPClientProxy

You must Login before you can answer or comment on any questions.

I'm trying the sample code from Titanium and getting the following error:

[INFO] [4,20782] in utf-8 error for GET
[TRACE] W/TiConvert( 886): (kroll$1: app://app.js) [13,20795] Unsupported type class
[WARN] [3,20798] Message: {"error":""}
What does Unsupported type class mean?
var xhr = Titanium.Network.createHTTPClient();
xhr.onload = function()
{'in utf-8 onload for GET');
    l2.value = this.responseText;
xhr.onerror = function(e)
{'in utf-8 error for GET');
    Ti.API.warn('Message: '+JSON.stringify(e));

1 Answer

Solution: Seems something was corrupted in the virtual device. All I had to do was open up the Android SDK and AVD Manager then delete all the virtual devices. (They will be recreated when you run the emulator again)

— answered 4 years ago by John Brennan
answer permalink
1 Comment
  • I am having this problem when I run the app on the emulator as well as the Android device in USB Debugging mode. Any idea? I will try your fix on the emulator and see if it works. This also has not been very consistent error. It happens sometimes, it doesnt sometimes - on the emulator.


    — commented 4 years ago by Sridevi Kolluri

Your Answer

Think you can help? Login to answer this question!