Search Unity

  1. Curious about what's going to be in 2021.1? Have a look at the 2021.1 beta blog post.
    Dismiss Notice

[Solved] 2019.3.0a4 incompatible ndk

Discussion in 'Linux Editor' started by jooleanlogic, Jun 1, 2019.

  1. jooleanlogic

    jooleanlogic

    Joined:
    Mar 1, 2018
    Posts:
    384
    This version requires ndk19 yet hub still downloads ndk16.
    I can't even find the very specific ndk19 version it requires on google.

    - Update 15-Jun-19 -
    Solution found here
    Short of it is to use ndk r19 and not r19b which is latest.
     
    Last edited: Jun 14, 2019
    anileapen05 and b1oki like this.
  2. b1oki

    b1oki

    Joined:
    Dec 21, 2018
    Posts:
    7
  3. jooleanlogic

    jooleanlogic

    Joined:
    Mar 1, 2018
    Posts:
    384
    Beniamino likes this.
  4. Beniamino

    Beniamino

    Joined:
    Jul 25, 2015
    Posts:
    17
    I agree completely. I have downloaded several and am just getting the same thing every time. It says we need NDK r19 (64-bit) (19.0.5232133). I have installed numerous versions of Unity as well as the SDKs, JDKs, and NDKs. This is wasting a whole lot of time, and nowhere can I find 19.0.5232133.
     
  5. Beniamino

    Beniamino

    Joined:
    Jul 25, 2015
    Posts:
    17
    I think I was able to get the AAP to work by using 2019.3.0b4 and using all three recommended tools, but it seems JDK is not installed.and the other two aren't using the recommended ones. Let me know if anyone still doesn't have it working.
     
  6. Nikos_G

    Nikos_G

    Joined:
    Oct 23, 2018
    Posts:
    1
    For others stumbling into this, Unity Hub downloads the NDK in the wrong folder:
    eg. /Applications/Unity/Hub/Editor/UNITY_VERSION/PlaybackEngines/AndroidPlayer/NDK/android-ndk-r19b

    Just go there and move all files from android-ndk-* folder inside the .../NDK folder
     
  7. carrotstien

    carrotstien

    Joined:
    Jun 8, 2016
    Posts:
    32
    @Nikos_G !! thank you
    Unity devs....come on!
     
  8. abrarjahin28

    abrarjahin28

    Joined:
    Sep 1, 2019
    Posts:
    3
    For everyone struggling for ndk do this steps.
    1.Download android-ndk-r19c from the official page.
    2.Extract it.
    3.Go into the extracted folder and find source.properties
    4.Open it and change Pkg.Revision to Pkg.Revision = 19.0.5232133
    5.Now Enjoy!
     
  9. Serhanov

    Serhanov

    Joined:
    Apr 11, 2020
    Posts:
    3

    Thanks! It works..
     
  10. robinryf

    robinryf

    Joined:
    May 22, 2014
    Posts:
    48
  11. pevicentini

    pevicentini

    Joined:
    Jul 14, 2017
    Posts:
    5
    You can also open a terminal window in your 'SDK\tools\bin' folder... and type:
    sdkmanager "ndk-bundle" "ndk;19.0.5232133"
    This should download and install the required NDK version inside your SDK folder. You can later move it to another location or reference it from this one.
    (Not tested but should work in theory)
     
    Casper-Chimp and robinryf like this.
  12. cjcamanch

    cjcamanch

    Joined:
    Apr 30, 2020
    Posts:
    8
    It is normal if it is written "are not officially supported"?
     
  13. cjcamanch

    cjcamanch

    Joined:
    Apr 30, 2020
    Posts:
    8
    Tell me where can I download the normal SDK, for Unity? For some reason, the program does not detect the folder with the SDK.
     
  14. BelletGames

    BelletGames

    Joined:
    Jan 17, 2020
    Posts:
    2
    For the sdk you can download it when you download the unity version form unity hub
     
  15. tkamruzzaman

    tkamruzzaman

    Joined:
    Jun 28, 2015
    Posts:
    8
    Many Thanks! Cheers!
     
  16. KIRANHPAHUJA

    KIRANHPAHUJA

    Joined:
    Mar 28, 2020
    Posts:
    1
    Thanks! It worked. You are god.
     
  17. TamGamer97

    TamGamer97

    Joined:
    Mar 30, 2020
    Posts:
    1
    what is the official page for ndk r19c and can i do this on unity 2019.4.9
     
  18. mrekuc

    mrekuc

    Joined:
    Apr 17, 2009
    Posts:
    94
    @pevicentini your way will download the NDK but still not the correct NDK. I put the in the 19.0.xxxxxx and it still downloaded 21b.

    I was convinced that since I only use defender there is no way it's blocking it from downloading. So I turned Defender off and it installed the correct SDK/NDK and OpenJDK just fine.
     
  19. garawaa

    garawaa

    Joined:
    Nov 10, 2020
    Posts:
    1
    You can also open a terminal window in your 'SDK\tools\bin' folder... and type:
    sdkmanager "ndk-bundle" "ndk;19.0.5232133"
    This should download and install the required NDK version inside your SDK folder. You can later move it to another location or reference it from this one.
    (Not tested but should work in theory)

    It is also works. And I downloaded it. If anyone needs it download ndk:
    android-ndk-64bit-for-unity-19.0.5232133.zip
    https://drive.google.com/file/d/1bu5n9gEX9XB4b5Yygfy_3Z0he6caFhU3/view?usp=sharing
     
    Lion_Lee likes this.
  20. Gold_Rush

    Gold_Rush

    Joined:
    Jan 10, 2018
    Posts:
    63
    In windows 10 i can make empty file with name ndk.bat in 'SDK\tools\bin' folder and insert to it:

    sdkmanager "ndk-bundle" "ndk;19.0.5232133"


    And run ndk.bat for download.

    But sdkmanager download android-ndk-r21d-windows-x86_64.zip ...
     
    Last edited: Dec 4, 2020
  21. tataygames

    tataygames

    Joined:
    Aug 4, 2016
    Posts:
    50
    HOLY SMOKING COW, this one works for me!! I have tried to download many NDK trial and error. for my MAC
    I downloaded this one. for my Unity 2019.4.16
    https://developer.android.com/ndk/downloads/older_releases#ndk-19c-downloads
    (CHOOSE MAC OS X android-ndk-r19c-darwin-x86_64.zip)

    And do what you sed. HOLY SMOKING MARGARITA. IT WOKRS!!! FINALY!! THANKS!
     
  22. mpdotf

    mpdotf

    Joined:
    Dec 14, 2020
    Posts:
    1
    Thanks,worked
     
  23. anas1973

    anas1973

    Joined:
    Aug 23, 2017
    Posts:
    2
    I think this one (NDK r19a) will works:
    https://dl.google.com/android/repository/android-ndk-r19-windows-x86_64.zip
     
unityunity