Skip to main content
Participant
June 21, 2010
Question

Update to AIR 2.0: VerifyError: Error #1014: Class IIMEClient could not be found.

  • June 21, 2010
  • 1 reply
  • 3201 views

Hi,

I have updated to AIR 2.0 and now I get RTE above next to several other RTEs.

The problem is that the generated flexUnitDescriptor.xml still uses AIR version 1.5 but should be 2.0.

How can I change it?

Thanks,

Sönke

This topic has been closed for replies.

1 reply

Inspiring
June 21, 2010

@Sönke - If AIR 2.0 requires the version # in the descriptor to be 2.whatever, then this is a bug on our side.  As a temporary fix, just extact the flexUnitDescriptor.template from Ant task jar, change the value in the template, and re-zip the JAR.  This should temporarily fix your issue unless we can get the issue fixed.  I'm hoping I can put this fix into place while beta2 is out in time for a release candidate for 4.1.  I'll keep you posted on the forums re: how it goes.

Let me know how the temp fix works out.

-Brian

flaircodeAuthor
Participant
June 21, 2010

Thanks Brian, I am pretty sure Flex 4.1 needs the 2.0 in the descriptor.

Can you perhaps create a test jar for me?

My repackaged .jar throws errors:

C:\BuildAgent\work\a2e1619340a123d\sfdc_desktop\main\desktop\build.xml:306: Problem: failed to create task or type flexunit
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

Thanks!

Sönke

Inspiring
June 21, 2010

@Sönke - Not sure why you're getting that error, others have been able to use the repackaging as a temporary fix.  My fork on GitHub has been updated with a fix for the AIR issue where the 2 digit version # will automatically be updated in the descriptor.  If you want to build from source and give it a shot, this should fix your problem I believe (http://github.com/blegros/flexunit).   This fix unfortunately did not make it into beta2 since we just released that today.  I'll email you a repackaged JAR as well just in case.

-Brian