The problemI am new to unity and I have a small problem . I installed the editor from the unity archive due to the buggy hub , but everything worked fine in the editor until the android build. I have completed my game and now I want to test it on a mobile phone . I installed the android build support from the archive but the editor keeps showing the error that JDK and SDK should be installed from the hub , but the add module option is not in the hub. I also read in another forum that changing the text from "false" to "true" in editor file in unity hub's folder fixes the problem but this showed an empty add module option . I cant change the editor as my game uses assets like bolt and post - processing .Please fix this problem .
2 Answers
I am not quiet sure what your problem is with Unity hub and why it is "buggy" for you.
If Unity tells you that JDK and Android SDK should be installed that means that it does not find the necessary platform modules. Makes sure these are linked correctly. you can find them under Edit->Preferences->External Tools
Make sure everything is setup correctly. You can read more about Android Setup at Unity documentation
9 Comments
Blender starter
I think you didn't understand , the hub is buggy in the sense that when I tried to install the editor, installation always failed but that was not the problem because I installed the editor from the unity archive . I know that Unity requires JDK and SDK modules for android build and the module's are installed by the hub . As I download the editor from the archive the add modules option is not present . So I installed the recommended JDK and SDK from the oracle and android website. But after installing the modules unity says , the modules are external and install them from the hub .
Blender starter
I have also written the same problem in the unity forum website , This might make it clear .
Blender starter
nkazz
but did you link them appropriately then? because from the link you posted the images shows the standard unity path where unity would expect them to be. did you move the JDK and SDK to that path? otherwise you need to adjust the link to the correct path.
Blender starter
No, I didn't change the path of the JDK and SDK I downloaded them from the archive link --> unity3d.com/get-unity/download/archive (in the release notes , my version 2020.1.12f1) after downloading I installed them but after installation the spaces for external tools was filled but the highlighted errors were preset.
|