Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Help with android development

Discussion in 'Android' started by Danger_X7, Dec 24, 2019.

  1. Danger_X7

    Danger_X7

    Joined:
    Dec 19, 2019
    Posts:
    3
    I've just started today to make my first android game...or at least I tried.
    I have a problem in the unity, so here is what I've done.
    I've click File then Build Setting and then chose Android and click switch platform, then I go to Edit Preferences and I know here I've got to configure JDK and SDK.

    Well for JDK I downloaded Java SE Development Kit 13 and then I configured the path here for that folder but it says:
    JDK installed with Unity is based on OpenJDK 1.8.0_152.
    License information is in the install folder (AndroidPlayer/Tools/OpenJDK).

    and a exclamation mark but in a white bubble, I think that's acceptable.

    But for SDK I get the exclamation mark in a yellow triangle and it says
    You are missing the recommended Android NDK. Install the recommended version with Unity Hub.
    Alright so this is what I've tried, I accessed Android Studio page and downloaded the sdk tools that you find near the end of the page then I linked sdk folder to the sdk path like this E:/sdk-tools-windows-4333796.

    Does this mean this is not the right version for my unity? How do I install it in Unity hub, I already got there click Installs then Add Modules and Added Android Build Support and Ios Buid iOS Build Support. I even installed Android Studio and got to Settings then installed a few android versions and sdk tools then I linked the path in unity to this folder tools but still the same result, I don't understand what I'm doing wrong...
     
  2. sofiajh

    sofiajh

    Joined:
    Feb 26, 2020
    Posts:
    1
    Could you solve it? I have the same problem!
     
  3. JuliusM

    JuliusM

    Unity Technologies

    Joined:
    Apr 17, 2013
    Posts:
    824
    Which Unity version did you install? Which version of Unity Hub do you use? Did you expand Android support and enable JDK / SDK & NDK components (see the attached screenshot).
    upload_2020-3-12_15-0-48.png