i want to use dji sdk in unity, i tried to make unity android plugin, but it doesn't work
I bought inspire1 pro(Drone) and i want to use dji sdk in unity, but i have some trouble on it, i tried to make unity android plugin that including dji sdk, but i have failed since i tried that way . so i send you question. this is how i include Dji SDK in Unity
step1) use Android studio and make a AAR Plugin
step2) setting the Unity Directory( Asset - Plugin - Android) by locating Dji SDK(JAR File) And Android Plugin(AAR File)
step3) edit C# script in Unity and build it
step4) ten Unity gave me the error message like this
=======================ERROR=============================================== Ignoring InnerClasses attribute for an anonymous inner class (org.bouncycastle.asn1.ASN1InputStream$1) that doesn't come with an associated EnclosingMethod attribute. This class was probably produced by a compiler that did not target the modern .class file format. The recommended solution is to recompile the class from source, using an up-to-date compiler and without specifying any "-target" type options. The consequence of ignoring this warning is that reflective operations on this class will incorrectly indicate that it is not an inner class.
================================================================== here is my quistion
is it Possible? using DJI SDK in Unity with Android Plugin?
i wonder the way use dji SDK in Unity
finally i want to use dji sdk in unity, how do i make it?
please, give me your help
///////////////////////////////////////////////////////////////////////////////////////////
ps) i added my error message in Unity with screenshot ,
thank you !
Answer by cowkk · Feb 09, 2017 at 07:58 AM
Did you solve this problem ? I had some question about aar . This is my issue : http://answers.unity3d.com/questions/1310910/
Answer by nishant842 · May 16, 2017 at 07:08 AM
Multi Dex is not supported in Unity. If you export the project to AndroidStudio it works fine.
Answer by ds-shoaib · Mar 16, 2020 at 07:50 PM
Hi, I am working on DJI spark, try this
Also please get in touch
https://tellopilots.com/threads/unity-controller-for-tello-autopilot-2-0.2288/