swc 应该放置在 external-library-path 中的解决办法

flex警告:

swc“D:\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\frameworks\libs\framework.swc”具有默认样式并且在 library-path 中,表示依赖项将不带有样式进行链接。这可能会导致使用输出 swc 的应用程序出现外观丢失的现象。swc 应该放置在 external-library-path 中。

 

看看网上解决办法。。

问题: 

 

The swc ‘/Applications/Adobe Flash Builder Burrito/sdks/4.5.0/frameworks/libs/framework.swc’ has style defaults and is in the library-path, which means dependencies will be linked in without the styles. This can cause applications, which use the output swc, to have missing skins. The swc should be put in the external-library-path.

 解决方案:

This happens when a added swc has link selection ‘merged into code’. It should be default external.

Since both the libraries have style defaults.css files, the compiler overrides the added swc’s defaults.css

Remedy : Go to build path, and select the conflicting swc, open the node, go to link type, and select edit, and then select ‘external’
save, clean build !

右键项目——>属性——>framework.swc——>链接类型:使用默认值(合并到代码中)——>编辑——>去掉“与框架相同”前面的复选框,“链接类型”选择“外部”——>ok
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值