[Flex] 解決 VerifyError: Error #1014: Class IIMEClient could not be found.


當chowky 更新了air 2.0 之後,就發現以前的AIR application 會出現 VerifyError: Error #1014: Class IIMEClient could not be found.

chowky 就發現release note 提到:
According to the Adobe AIR 2 Release Notes:

You must update your application descriptor file to the 2.0 namespace in order to access the new AIR 2 APIs and behavior. If your application does not require the new AIR 2 APIs and behavior, you are not required to update the namespace from 1.x based namespace. To update the namespace, change the xmlns attribute in your application descriptor to: http://ns.adobe.com/air/application/2.0

原因就在於namespace 的改變。大家只需要把application 的xml config 改改namespace 就可以了。

<application xmlns=”http://ns.adobe.com/air/application/1.5.3″>
改為
<application xmlns=”http://ns.adobe.com/air/application/2.0″>
Share
  1. No comments yet.
(will not be published)

Anti-Spam Protection by WP-SpamFree