I downloaded unity editor from unity download archive but now i need the android build support module "also known as android SDK/NDK tools" but the "add module" button missing from hub is there is anyway to fix it or if there is a way to download modules without hub Please help Unity hub 2.4.5 Unity editor 2019.2.9
CodePudding user response:
First of all, why do you use the archive Unity version? You should use the latest versions. Second, if you really need to use this version and there is no add modules button, the easiest (and I think the only one) is to download Android Studio, then install the needed SDK/NDK and then provide the path in Unity Editor (Preferences -> External Tools) to it.
CodePudding user response:
first of all, android build support module in unity is totally different from SDK/NDK/JDK tools
**if you want to install the build support module using one of blew steps: 1- instead of downloading the unity Editor download the unity installer from this link(you can find all versions of unity and download the right installer), and choose the modules you need to install
2- easiest way is to open build setting in unity and choose the android from the platform section,if you don't have the module, you will see a button that says open download page, and you can simply download and install the module after clicking that buttonhere is the image.
**normally when you install the android build support it will install the dependencies automatically, but if there was a problem you can manually download the tools(SDK/NDK/JDK) and use the manual on this link to tell the unity to use your custom tools.
SDK: the easiest way to install the android studio NDK: download r19 version this link JDK: download jdk8 from this link