

Android setup should then proceed normally. In the event that you receive an error stating that repositories.cfg cannot be loaded, navigate to the folder where it is expected (usually C:/Users/.android/repositories) and create an empty repositories.cfg file. SetupAndroid.bat is for Windows, mand is for Mac, and SetupAndroid.sh is for Linux. Inside this directory, run the SetupAndroid script appropriate for your operating system. Navigate to your Unreal Engine 4 install directory - for example, C:/Program Files/Epic Games/UE_4.27. With the necessary Android SDK components installed, you can use the SetupAndroid script to download and install the appropriate version of Android NDK. Each operating system requires a different step to finalize installation.Ĭlose your terminal window and reopen it.Įither close your terminal window and reopen it, or log out and log back in. Finalize the Android Studio Installation on Your OSĪfter completing all of the above steps, you need to finalize your installation to make sure your environment is fully set up before proceeding.

Make sure to edit every line that defines the SDKMANAGER or SDKMANAGERPATH variable, otherwise the Android NDK setup will fail.Ĥ.
