Install the Tools
Get the tools you need to build applications for the Magic Leap 2 headset. The Magic Leap 2 is built on top of the Android Open Source Project (AOSP), Android 10 (Q) API level 29, whereas ML1 was built on top of a Linux-derived in-house OS.
Install Magic Leap Hub 3
The Magic Leap Hub 3 lets you install and manage Magic Leap tools, including the Magic Leap SDK for Native and Unity, example projects, and tools like MRTK for Magic Leap.
- Navigate to the download section of the developer portal.
- Download the Magic Leap Hub 3 installer that is compatible with your operating system.
- Run the installer and complete the setup wizard.
Windows users should install redistributables from the Microsoft Visual C++ Redistributable latest supported downloads page.
Download and install the relevant redistributable package for "Visual Studio 2015, 2017, 2019, and 2022." The x64 version is most-likely the version you need.
Failure to install this could cause unexpected failures with the ML Hub and/or the Application Simulator.
- Launch ML Hub 3 and click Packages, located in the left sidebar.
- In the Package Manager, select the package bundle you want to install. A list of packages is displayed in the right pane. Select any optional packages on the list.
We recommend installing the Magic Leap sample packages.
- Click Apply Changes to begin installing.
- After installation is complete, proceed to the next section.
Next Steps
After installing the ML Hub, you are ready to set up your preferred development environment.