
上QQ阅读APP看书,第一时间看更新
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:
- On Windows, navigate to Edit | Preferences, then select the External Tools tab on the left-hand side. On macOS, it's under Unity | Preferences.
- In the Android SDK text slot, paste the path of your Android SDK.
- 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:
