- Home /
Failed to recompile android resource files. See the Console for details
Since I have installed this asset: https://www.assetstore.unity3d.com/#/content/10825 I can no longer build my project for android. I have no idea what is causing this problem and how I can fix this. Here is the full error:
Failed to compile resources with the following parameters: -bootclasspath "C:/Users/Stefan/Desktop/android-sdk-windows/platforms/android-14\android.jar" -d "C:\Users\Stefan\Desktop\Apps\My Game\Temp\StagingArea\bin\classes" -source 1.6 -target 1.6 -encoding ascii "com\facebook\android\Manifest.java" "com\facebook\android\R.java" "com\StefanApps\MyGame\Manifest.java" "com\StefanApps\MyGame\R.java" Picked up _JAVA_OPTIONS: -Xmx512M
UnityEditor.HostView:OnGUI()
What could be causing this and how could this be solved?
Thanks
Answer by haim96 · Mar 18, 2014 at 09:48 AM
you probably using some asset bundle (related to facebook login? ) that add another version of "android-14android.jar" and it conflicted with the file from the SDK. the file doesn't have to be the exact same name but if they have the same purpose the will conflict.
look for a folder plugin -> android for jar files...
I'm sorry, for some reason it didn't enter my first few lines of the story. I'm using this plugin: https://www.assetstore.unity3d.com/#/content/10825
There are plenties of jar files in here, I'm not sure which one could be causing it. Any idea?
i suspected this will be the one... i also had issues with this. i suggest you to talk with the developer. he can help you with this.
By the way, my issue was conflict between this plugin and playhaven plugin in case you are using it...
Your answer
Follow this Question
Related Questions
can't build android app with facebook sdk 5 Answers
unity Facebook For Android Error 0 Answers
android player error 0 Answers
How To fix FacebookSDK merge error in androidmanifest.xml ? 0 Answers
Assets/scripts/fbLogin.cs(60,52): error CS1501: No overload for method `API' takes `3' arguments 1 Answer