Can I use ARSDK in Unity3D?


Hello, First of all, I want use Unity engine to control Drone, So, I used Android studio export jar, but .jar can’t run when I build in Unity.

This is my Android studio Gradle Setting

Error is call ARSDK.loadSDKLibs()

My Bridge

I guess this error is the .jar not include External Libraries.

How can I solve this problem?

Thank you in advance.



Sorry I don’t know Unity3D enough to answer your question. I know the C part of the SDK has already been used in Unity.

I don’t really understand what you’re doing with your task exportJar.



Can ou please elaborate on how to use the SDK in Unity?



I solved use SDK in Unity.
In Android,
First useing "compile ‘com.parrot:arsdk:3.12.0’ " load the native libraries. And you can write your function.
Second build .jar to your Unity Project Plugins/Android
like this↓

Next step you should find gradle caches in “C:\Users\USER_NAME.gradle\caches\modules-2\files-2.1\com.parrot”,
find .aar file and copy to your Unity Project Plugins/Android
like this↓

Final you can build APK Unity, And can support parrot product.


Will try it.
Thank you!!!