

Press the Play button next to the androidEmptyExample shown in the toolbar.

In some cases, you may have to do this several times to solve several missing dependencies.

In some cases, clicking on the error in the console window will take you to a solution, such as installing various versions of the Android SDK. If it doesn't work (Gradle sync still fails), try looking at the Troubleshooting tips bellow. You'll have to wait a bit: the first sync will automatically build openFrameworks. Then browse to any of the android examples in examples/android.Īccept all the prompts and wait for Android Studio to set up the project.

Open the projectĪt the Android Studio welcome screen select Open an Existing Android Studio Project. Once downloaded, extract it in the location of your choice. If it doesn't exist create one, and paste the extracted android-ndk-r15c folder here. Now in the file explorer go to that location, and look for a "ndk" folder. Can also be found in "File" > "Settings" > "FileĪt the top you should have a path pointing to the SDK location, called "Android SDK location".Ĭ:\Users\%userprofile%\AppData\Local\Android\sdk\ Click on the button at the bottom right : "Configure" > "SDK manager". If you have an open project close it with "File" > "Close project". To know the path of the android studio sdk, open android studio. zip, you'll have to install it in the "ndk" folder of android studio sdk. OF 0.10.0 has been tested with the NDK version r15c, newer versions might work but it's not guaranteed. This is the C/C++ compiler, headers and libraries for Android. In the event that Android Studio does not come with an SDK, you can install it from (under "Get the SDK for an existing IDE"). It should come with (or automatically install) a recent SDK, though you can customize the SDK version later from within Android Studio using Tools ➞ Android ➞ SDK Manager. Installation Install Android Studio and the SDKĭownload and install Android Studio from (you need Android Studio 1.0 or higher).
