Error “Can not resolve reference to multiname unambiguously”

老子叫甜甜 提交于 2019-12-11 20:08:08

问题


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.

回答1:


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)



来源:https://stackoverflow.com/questions/8763936/error-can-not-resolve-reference-to-multiname-unambiguously

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!