I have added Facebook SDK
and Google-play-services_lib as library in my project . I have deleted android-support-v4.jar
from my project Lib folder. Now I am facing with following problem
[2014-09-26 15:47:47 - Dex Loader] Unable to execute dex: Multiple DEX files define Lcom/facebook/android/AsyncFacebookRunner$1;
[2014-09-26 15:47:47 - Mmatching] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/facebook/android/AsyncFacebookRunner$1;
This means that you have multiple files defined for your project settings.
For that,
Go to the,
Project Properties -> Java build path -> Libraries -> Remove Android dependencies
To be more specific -
Just removing the facebook-android-sdk.jar
file from libs worked for me as well as it refers to the facebook related jar which I had in multiple.
Remove this error by following these steps:
and clean your project. It works.
只需从Java Build Path -> Order and Export
取消选中您的Android Dependencies
复选框。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.