Configuring Unity's external tools

Armed with all the stuff we need and the paths to the tools we installed, you can now go back to Unity. We need to tell Unity where to find all of the Java and Android stuff. Alternatively, if you skip this step, then Unity will prompt you for the folders when building the app. In Unity, do the following:

  1. On Windows, navigate to Edit | Preferences, then select the External Tools tab on the left-hand side. On macOS, it's under Unity | Preferences.
  2. In the Android SDK text slot, paste the path of your Android SDK.
  3. In the Java JDK text slot, paste the path of your Java JDK.

Unity Preferences with my SDK and JDK are shown in the following screenshot:

Get Augmented Reality for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.