- Home /
unable to convert to dex format
I have integrated 1 plugin in my project which is facebook SDK v 7.9 & unity 5.3.5f1
& I get these errors I'm struggling with this issue for 2 weeks & I had to start from scratch to figure out that the facebook sdk is the source of the error
here is the folders structure inside unity https://postimg.org/image/p71lyex8d/
facebook settings https://postimg.org/image/4zh6y9aeh/
Your project built just fine before adding fb sdk ?
I have changed faceook sdk to v 7.8 bacause facebook sdk ex v 7.9 requires unity version is 5.4.1p3 Now I get unable to repackage resources
@Hardik$$anonymous$$aru2001 can you please help me
Answer by cattagames · Jan 25, 2017 at 06:43 PM
Happened to me also when dealing with unity ads.
Search for .jar and .aar files in your unity assets folder, if you have multiple files with the same name, you should delete (or temporarily rename) one of them. For me, it was Classes.aar
Answer by HardikMaru2001 · Jan 25, 2017 at 08:12 PM
This kind of errors may occur because of many reasons. The very first thing which I have seen and want you to fix is your Android SDK. It seems like too old version of the SDK, so please download the latest Android SDK and then updates the Tools, API and etc.
If issue can't fixed by above solution, take a backup of the project, Right click inside Asset folder and click on reimport all.
I think this will fix your issue, if you still have any problem Please let me know. I will be happy to guide you further more.
Best, Hardik.
Your answer
Follow this Question
Related Questions
Cannot build for android with facebook sdk -- Unity 5.4.0f3 1 Answer
Do our company need a Facebook business account for integrating our unity game? 1 Answer
how to vew other island on facebook game ?,hw to access other island on facebook game unity3d? 1 Answer
After installing the .apk , the App Icon appears twice 1 Answer
Androidmanifest.xml problem 0 Answers