Dive Board



Android build Dive v.2.1.2

Android build Dive v.2.1.2

by maskedmous on May 29th, 2015 09:15 AM

Hello,

I'm currently developing for android and updated the plugin from 2.1.1 to 2.1.2
When building i noticed the lots of errors when building because the android plugin is now all in seperate folders with the same file name but for their own CPU type(folder name) i guess? rather than 1 library?
but yeah Unity is complaining that it can't build because it doesn't know which one to pick and neither do I.
I've tried fiddling around with them but that went wrong and the camera view was totally spacing out.

Can there be instructions for this or be get fixed?
I'll use 2.1.1 again for now but it would be nice if it were to be fixed ofcourse ;)

Thanks for the awesome plugin

maskedmous

Posts: 7

Joined: 29.05.2015


Re: Android build Dive v.2.1.2

by Torben on May 29th, 2015 10:30 AM

Hi,

we added all available cpu types for android even though some of them aren't supported by Unity yet.
Are you using Unity 5?
I tested the newest build with Unity 4.6.3f1 and several dive apps.
Could you try to compile the corresponding dive unity demo and / or add the log of your failed build?
The right *.so should be armeabi in most cases

Torben

Posts: 63

Joined: 26.03.2014

dive-owner


Re: Android build Dive v.2.1.2

by maskedmous on May 29th, 2015 13:52 PM

We're using Unity 5

This error and that for like 10x

Found plugins with same names and architectures, Assets/Non-Project/Dive/Plugins/Android/libs/armeabi-v7a/libdivesensor.so (ARMv7) and Assets/Non-Project/Dive/Plugins/Android/libs/x86_64/libdivesensor.so (ARMv7). Assign different architectures or delete the duplicate.
UnityEditor.AndroidPluginImporterExtension:CheckFileCollisions(String)
UnityEditorInternal.PluginsHelper:CheckFileCollisions(BuildTarget) (at C:/buildslave/unity/build/Editor/Mono/Plugins/PluginsHelper.cs:25)
UnityEditor.HostView:OnGUI()

maskedmous

Posts: 7

Joined: 29.05.2015


Re: Android build Dive v.2.1.2

by Torben on May 29th, 2015 14:57 PM

ok - thanks :)

I'll try to find a fix for Unity 5!
In the meantime, you could delete every lib folder except armeabi, move the contained *.so to ./Plugins/Android and also delete the libs folder

Torben

Posts: 63

Joined: 26.03.2014

dive-owner


Re: Android build Dive v.2.1.2

by Torben on May 29th, 2015 17:29 PM

Hi!

I just updated the plugin and it should work with Unity 5 now

http://www.durovis.com/unity/Dive_Plugi ... itypackage

Torben

Posts: 63

Joined: 26.03.2014

dive-owner