的VerifyError:错误#1079:本地方法不是在装code允许是在、错误、方法、VerifyError

2023-09-08 14:16:16 作者:微信扫描或直接搜索关注“腾牛个性网”微信公众号,方便随时查看

我在AS3编译一个Android / iOS应用程序。我有问题,被告知升级到Flash Builder 4.7(4.6)。我这样做,当我尝试用新的空气3.4我碰到下面的错误运行:

 的VerifyError:错误#1079:本地方法不是在装code允许的。
 

解决方案

所以,我想卸载Flash Builder的4.7 64位和安装32位版本。这并没有帮助(同样的问题)。

但后来我尝试不同的东西。所以我的工作空间本来我的Adobe Flash Builder的4.6(因为我在这工作区许多AS3项目,并想只加载在4.7)。显然,这引起了我的问题(或者至少是走了,当我做了以下)。

我决定使用,而不是切换到4.6 Flash Builder中4.7的默认工作空间(用户\\的Adobe Flash Builder中4.7)。然后我输入我的生活在我的4.6目录中已有的项目。编译并运行良好!

我想有从Flash Builder 4.6升级到4.7时,用旧的工作区从4.6 ...不知道为什么它造成了离奇的错误,但我很高兴能够继续前进是一个问题。

I have an Android/iOS app compiled in AS3. I was having issues and was advised to upgrade to Flash Builder 4.7 (from 4.6). I did so, and when I try running with the new Air 3.4 I get the following error:

VerifyError: Error #1079: Native methods are not allowed in loaded code.
java.lang.VerifyError解决方案

解决方案

So I tried uninstalling Flash Builder 4.7 64 bit and installing the 32 bit version. This didn't help (same issue).

But then I tried something different. So my workspace was originally my Adobe Flash Builder 4.6 (as I had many AS3 projects in that workspace and wanted to just load that up in 4.7). Apparently this caused my issue (or at least it went away when I did the following).

I decided to use Flash Builder 4.7's default workspace (Users\\Adobe Flash Builder 4.7) instead of switching to 4.6. I then imported my existing projects that lived in my 4.6 directory. Compiled and it ran fine!

I guess there is an issue when upgrading from Flash Builder 4.6 to 4.7 and using the old workspaces from 4.6... Not sure why it caused that bizarre error but I'm glad to be able to move on.