Learn how to develop for the Magic Leap 2 using the Magic Leap SDK and Native C++.
🗃️ Building Native Application Framework Samples
📄️ Migrating from ML1
The Magic Leap 2 no longer uses mabu as the build system. Instead, Gradle and CMake are now the tools used to build apps when using the Magic Leap C-API.
📄️ Modifying APK for AR
In most cases, you can simply create a new Native C++ project in Android Studio and build it for the Magic Leap 2 platform. However, if you need the output to be in AR space, there are a few modifications necessary:
📄️ C-API Samples Overview
The list below contains descriptions of each of the C-API samples available in the ML Hub. The README.md files of each example contain instructions on how to build, install and uninstall the example, as well as its expected behavior and GUI.