AR Drone 2.0 SDK for Android on Windows

I have a Parrot AR Drone 2.0. How can i set up the AR Drone 2.0 SDK for Android Studio on Windows?

Hi Metehan,

I’m a beginner as well, and I’ve run through the same question as you. I have found the answer, so I thought you’d like to know as well. It is described in that thread: Whats the state of the SDK Support for AR.Drone 2.0 ( ARDrone_SDK_2_0_1.tar.gz )?

Basically you need to download the ARDrone SDK 2.0.1 there:
In there are examples for Android, iOS, Linux and Windows.

I find amazing though that this SDK is so hard to find! The official dev portal does not reference it, nor it is on GitHub… Parrot people if you read me, I think you could make it better: there are still plenty of ARDrone 2 owners and developers here, and you keep selling it. We deserve support!

Hope it helps,

1 Like

Hi David,
Thank you so much for your reply.
I have found that file before but I could not configure for Android Studio.
It’s still not working sadly.
But as I say before thanks for your help.

I’m running into issues as well to make it work for Android Studio… I’m advancing slowly. The main hurdle is that the SDK has a much broader scope than just Android.

Anyway, I will get there eventually. You can follow my progress there:

1 Like

Hi David,
I just login to appreciate your job on android, well done!! And thank you for sharing your code!
I’ve found all the place but getting no result for AR Drone 2.0 SDK version , let alone there isn’t anything for android .
I just want to develop my own mobile aircraft controller as some learning stuff, from now on I think I finally find who to follow! Thank you again!

1 Like

And I hope to keep in touch with you!!

Hi guys,

Maguslin, thanks for your comment, it is much appreciated :wink:

I have finally reached a “stable” state on the repo on the master branch:
This is simply the source code provided in the ARDrone 2.0 SDK converted for Gradle and Android Studio. If you clone the repo you should be able to build and run straightaway (tested on Windows x86_64 and Linux x86_64).

The master branch has the bare minimum that allows you to run the app. You won’t be able to modify the ARDrone SDK or FFMPEG because they are precompiled. You can mess with the Android and UI code though.

I want to create another branch “complete-chain” that will bundle all the compilation of the ARDrone SDK (make ffmpeg and make vlib, ardrone_lib and sdk) before running the app. In this one you’d be able to mess with every bit of the chain.

Apart from that, I want to abstract the SDK functionality for Android in a library module (apart from the UI), that people could reuse in their app in a Gradle-way. Let’s say a branch “with-library-module”.

You’re very welcome to contribute to the Git repo, by enhancement requests or pull requests!

1 Like

Great !
If you want to write a little article on this, I can feature it on the Parrot Dev Website !

Thanks for the proposition, I definitely will write a blog post about it as I believe it can help fellow developers!
I’ll let you know when it’s done.

The links at the top of the description don’t seem to work anymore. - link to the 2.0 SDK.
Also I am having trouble building the android example you have migrated to gradle. Whenever I build the project it throws an error saying

Error:Execution failed for task ‘:app:cleanNative’.

A problem occurred starting process ‘command ‘null/ndk-build.cmd’’<<

I have downloaded the ndk and added it the the path system variable but it doesn’t seem to have done anything. Sorry I am a total android noob :stuck_out_tongue:

Thank you for the solution.