错误“无法明确地解析对多名称的引用" [英] Error "Can not resolve reference to multiname unambiguously"

查看:29
本文介绍了错误“无法明确地解析对多名称的引用"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

个人出现此错误,我无法解决.

Personal is giving this error and I can not solve it.

Can not resolve reference to multiname unambiguously. FacebookMobile (from C: \ Users \ 
Robinho \ Adobe Flex Builder 4.6 \ FacebookMobile \ src \ FacebookMobile.mxml) and 
com.facebook.graph: FacebookMobile (from C: \ Users \ Robinho \ Adobe Flex Builder 4.6 \ 
FacebookMobile \ libs \ GraphAPI_Mobile_1_8_1 . swc (com.facebook.graph: FacebookMobile)) 
are available.

推荐答案

你有两个同名的类 FacebookMobile 一个由 FacebookMobile.mxml 定义,另一个存在于GraphAPI_Mobile_1_8_1.swc(库).

You have two classes with same name FacebookMobile one is defined by FacebookMobile.mxml and other exists in GraphAPI_Mobile_1_8_1.swc (library).

您应该避免将新类命名为已由您使用的库定义的类.(如果他们正确命名了这应该不是问题,但这可能不是这种情况)

You should avoid naming new classes as ones that already defined by libraries you use. (If they properly namespaced this should not be an issue, but this probably isn't a case)

这篇关于错误“无法明确地解析对多名称的引用"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆