VerifyError:Error #1079:Native methods are not allowed in loaded code.
来源:互联网 发布:工控编程软件 编辑:程序博客网 时间:2024/05/20 09:46
VerifyError:Error #1079:Native methods are not allowed in loaded code.
一般出现这个问题的原因是:升级Adobe Flash player 的原因,当问安装最新版后, 鼠标右击工程属性,选择flex Compiler ,在右边栏点击use a specific version 输入你安装最新的版本号,这是问题就出现了。因为你用的是Adobe Flash builder4 自带的sdk4.1中(C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.1.0\frameworks\libs\player)只有Adobe Flash player 10.0和Adobe Flash player10.1,当你用IE浏览器测试程序的时,有时候他会提示你升级为Adobe Flash player 最新版本,以上问题我就是安装了Adobe Flash player 11.1造成的,因为C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.1.0\frameworks\libs\player(我的开发工具安装在C盘)这个目录下并没有11.1这个文件夹也没有playerglobal.swc存在这个文件夹,因为这个文件夹是你自己创建的。于是我在adobe官网下了一个playerglobal11_0.swc文件 ,便在C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.1.0\frameworks\libs\player 创建了11.1文件夹 再把下来的playerglobal11_0.swc文件放到里面,于是重启工具,发现工具提示错误:在C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.1.0\frameworks\libs\player\11.1找不到playerglobal.swc他,于是我把他playerglobal11_0.swc重命名为playerglobal.swc。
原本以为可以了,没想到却报了
VerifyError:Error #1079:Native methods are not allowed in loaded code.
错误。解决以下错误 我提供两种方法,第一种是看到网上的,真是坑爹啊。我完全被他误导了。
中文描述:载入代码中不允许使用内置方法。
解决方法一:将库中的SWC的链接类型改为外部链接就可以了,点击swc下面有链接类型,双击就可以选择了。如果在Flex中使用Stage3D出现了此问题,那么在libraray path里面添加最新版本的 playerglobal11_0.swc,并将link type改为 external 。
解决二:右击项目选择属性,在窗口中左侧栏点击flex Builder Path ,点击后找到builder path libraries ,在右侧栏点击add SWCFolder ,然后在选择你C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.1.0\frameworks\libs\player\11.1 这个目录 就是你放下载文件的目录。完了 点击OK. 一切搞定。
- VerifyError:Error #1079:Native methods are not allowed in loaded code.
- Code::Blocks error: range-based 'for' loops are not allowed in C++98 mode
- SharePoint 2013 排错之"Code blocks are not allowed in this file"
- Code Recyclebin Contact me QQ:149906878 Write operations are not allowed in read-only mode (FlushMo
- Code::Blocks 关于error: 'for' loop initial declarations are only allowed in C99 mode
- in-source builds are not allowed
- R连接oracle数据库Error in odbcFetchRows negative length vectors are not allowed解决方法
- Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to speci
- Duplicates in a repeater are not allowed in AngularJS
- Error:Content is not allowed in prolog.
- Subqueries are not allowed in this context. Only scalar expressions are allowed.
- error: kernel launches from templates are not allowed in system files和/usr/local/lib/libhdf5.a: erro
- Error saving your changes: Description control characters are not allowed
- Write operations are not allowed in read-only mode
- Write operations are not allowed in read-only mode
- Write operations are not allowed in read-only mode
- operations are not allowed in read-only mode
- operations are not allowed in read-only mode
- 陈硕的Blog c++ 有关 很有深度 多学习
- Oracle 中表的修改笔记
- Assembly(c#中简单说明
- 笔记本下的Fedora 16
- 双系统 linux引导失败—“/dev/xxx unexpected inconsistency, run fsck manually”的解决
- VerifyError:Error #1079:Native methods are not allowed in loaded code.
- 常用vim插件
- drop-down
- 使用IIMAGE接口播放动画
- MIME文件类型
- string 使用
- 关于:unknown Oracle major version 异常的解决方案
- Options
- Intent 和 Intent Filter