0

No "alljoyn_unity_native.dll" file in "AllJoyn SDK 14.02.00 - Android (debug)/(release)"

asked 2014-04-21 05:58:50 -0700

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I am starting with alljoyn and want to integerate in unity and android, i started with basic client server projects, but it giving me error "DllNotFoundException: alljoyn_unity_native in unity".

I have downloaded AllJoyn SDK 14.02.00 - Android (debug), as well as AllJoyn SDK 14.02.00 - Android (release) but i didn't find "alljoyn_unity_native.dll" in any of its folder. From where i can get "alljoyn_unity_native.dll" file.

edit retag flag offensive close merge delete

Comments

Which version of Unity are you developing with, and what is your host development platform (Windows, Mac, etc.)?

mitchw ( 2014-04-22 08:57:52 -0700 )edit

@mitchw Iam working on windows7 64bit machine, i have downloaded AllJoyn SDK 14.02.00 - Windows 7/x64 but now i am geeting error "DllNotFoundException: C:/Users/Name/Downloads/alljoyn-14.02.00-win7x64vs2012-sdk/alljoyn-14.02.00-win7x64vs2012-sdk-rel/unity/package_support/car/Assets/Plugins/alljoyn_unity_native.dll AllJoynUnity.AllJoyn.GetVersion () AllJoynAgent.Awake () (at Assets/Scripts/AllJoynAgent.cs:41)"

stblue ( 2014-04-22 21:52:16 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-04-21 12:22:50 -0700

bspencer gravatar image

Inside the Android SDK exists the file needed for an Android device. What you are looking for is running on an emulator on a PC which can be found in the windows SDK.

You can then develop the unity application and have the unity simulator talk to the Android application running on a device. Android emulator to Android emulator is not supported.

edit flag offensive delete publish link more

Comments

@bspencer what i am trying to do is starting with unity and android so according to docs provided i have open basic server example and build and run it on android device which seems to work fine then i have open basic client example and build and run it on windows expecting both device will communicate but it start giving me .dll error.

stblue ( 2014-04-21 22:03:35 -0700 )edit

That is absolutely fine, the .dll exists inside the AllJoyn Windows SDK. Please go and down that and you will be able to run on your windows machine.

bspencer ( 2014-04-22 12:37:08 -0700 )edit

@bspencer i have downloaded AllJoyn SDK 14.02.00 - Windows 7/x64 but now i am geeting error "DllNotFoundException: C:/Users/Name/Downloads/alljoyn-14.02.00-win7x64vs2012-sdk/alljoyn-14.02.00-win7x64vs2012-sdk-rel/unity/package_support/car/Assets/Plugins/alljoyn_unity_native.dll AllJoynUnity.AllJoyn.GetVersion () AllJoynAgent.Awake () (at Assets/Scripts/AllJoynAgent.cs:41)"

stblue ( 2014-04-22 21:52:43 -0700 )edit

Can you download the Windows7/x86 version and use that .dll. I believe that the x86 version is what Unity is looking for. Sorry I should have remembered that.

bspencer ( 2014-04-23 19:20:03 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-04-21 05:58:50 -0700

Seen: 1,911 times

Last updated: Apr 21 '14