0

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 .

1
  • You need to delete everything and install Unity HUB.. Its not buggy at all. Let the HUB do everything for you. Just select Android module while choosing different modules in Unity Installation Commented Feb 18, 2021 at 6:19

2 Answers 2

0

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 External Tools preferences Make sure everything is setup correctly. You can read more about Android Setup at Unity documentation

Sign up to request clarification or add additional context in comments.

9 Comments

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 .
I have also written the same problem in the unity forum website , This might make it clear .
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.
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.
|
0

I only had to un-check The option of installing JDK and SDK through Unity . Then I could install JDK and SDK externally .

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.