- Home /
PLease help: android plugins manifest woes
Hi
I wondered if anyone could give any pointers in regards plugins and building out for Android.
The plugins I have are:
unibill admob kamcord
What do I with manifests? Do i merge all of the required properties into the main android manifest in root of android plugins?
What about tall the separate res folders in each plugin? Does unity merge these?....because Ive been getting errors:/
To cap it all now for some reason I am getting this error:
-bootclasspath "/Applications/adt-bundle-mac-x86_64-20140702/sdk/platforms/android-21/android.jar" -d "/Users/adriangoddard/Desktop/tail/Temp/StagingArea/bin/classes" -source 1.6 -target 1.6 -encoding UTF-8 "com/acreative/tailrelease/R.java" "com/google/android/gms/R.java" "com/kamcord/android/R.java" warning: java/lang/Object.class(java/lang:Object.class): major version 51 is newer than 50, the highest major version supported by this compiler.
And I thought I had eradicated this earlier today....and I have been battling with problems with res path attributes not being found.
I am really lost in how to fix this so any pointers in how to make plugins play nicely with each other would be really really appreciated.
As a note I have made a clean project with ZERO plugins and I have no problems whatsoever building a simple api file.
thanks very much in advance
ade
Answer by Yury-Habets · Nov 17, 2014 at 10:46 AM
Please use this as the starting point: http://docs.unity3d.com/Manual/PluginsForAndroid.html
AndroidManifest.xml put into Assets/Plugins/Android completely overrides Unity default manifest (except for permissions and uses-feature).
Manifests of Android library projects are merged with Unity main manifest, so are the resource folders of library projects.
In fact, in 5.0 using Android library projects is recommended over using just compiled .jar files.
Answer by ade76 · Nov 15, 2014 at 03:09 AM
Managed to sort this out....well made progress. Upgraded eclipse to Luna as I had Juno which insisted on Java 6.
Not out of woods yet but I've managed to build an apk atleast!
Your answer
Follow this Question
Related Questions
AndroidManifest.xml: meta-data unityplayer.UnityActivity 2 Answers
Problems with Multiple Plugins 1 Answer
XML Manifest: Unity and Android 1 Answer
How to write an AndroidManifest.xml combining different plugins? 3 Answers
Change an Android app's manifest by putting manifest.xml in Plugins/Android folder? 2 Answers