I'm using Socialize SDK in my Android app project (API 18).
I have read its Getting Started documentation and followed the instruction on how to implement it.
However, I come across several problems regarding library imports. I've tried to put all the JAR files inside my project's /libs
folder but it couldn't locate the drawables, because clearly I haven't include their /res
folder.
So, I configured the Build Path of my project to include the Libraries. Now this error shows up:
[2013-11-20 10:11:04 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
[2013-11-20 10:11:04 - WebShopper] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
I have already imported Socialize project folder into Eclipse in order to use its libraries. But I couldn't figure out how to solve this error.
Here is how my Build Path currently looks like, if it helps:
What's wrong with it? Are there any duplicated libraries I have to remove here?
If anything, please let me know.
I don't know exactly what is the problem, it may be because of same class definition in multiple jar files. I also had same problem once but resolved it by removing one jar file from my lib folder.
Here is some links which may help you out in coming out of this problem
Unable to execute dex: Multiple dex files define Lcom/myapp/R$array;
Getting "Unable to execute dex: Multiple dex files define" error when trying to run main project which is using other library project
This type of error occur because of multiple libraries or jar files in your project.Do the following:
Hope this would help you..:)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With