Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[Solved] 2019.3.0a4 incompatible ndk

Discussion in 'Linux' started by JooleanLogic, Jun 1, 2019.

  1. JooleanLogic

    JooleanLogic

    Joined:
    Mar 1, 2018
    Posts:
    447
    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
    AAAAAAAAAE and b1oki like this.
  2. b1oki

    b1oki

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

    JooleanLogic

    Joined:
    Mar 1, 2018
    Posts:
    447
    FernandaGalindo and Beniamino like 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:
    37
    @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..
     
    unison25 likes this.
  10. robinryf

    robinryf

    Joined:
    May 22, 2014
    Posts:
    54
  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)
     
    andersemil, 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:
    116
    @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:
    2
    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
     
  20. Gold_Rush

    Gold_Rush

    Joined:
    Jan 10, 2018
    Posts:
    64
    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:
    55
    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:
    4
    I think this one (NDK r19a) will works:
    https://dl.google.com/android/repository/android-ndk-r19-windows-x86_64.zip
     
  24. Asad_Asif

    Asad_Asif

    Joined:
    Jul 17, 2019
    Posts:
    3
    Love you its work
     
  25. engyasserlr

    engyasserlr

    Joined:
    Nov 13, 2020
    Posts:
    4
    Hi Sir, Thank you so much, it works for me, version 2020.3.4f1
     
  26. rezabarca2

    rezabarca2

    Joined:
    Apr 26, 2021
    Posts:
    1
    Thank you
     
  27. OneQuy

    OneQuy

    Joined:
    Dec 8, 2016
    Posts:
    2
    Thanks!!!! Love you!!!!
     
  28. fajarbangko

    fajarbangko

    Joined:
    Jul 25, 2021
    Posts:
    1
  29. Chepetzini

    Chepetzini

    Joined:
    May 29, 2018
    Posts:
    1

    Thank's ¡Working solution!
     
  30. ib489

    ib489

    Joined:
    Jul 24, 2021
    Posts:
    1
    100% confirm it works thanks.
     
  31. kodsay

    kodsay

    Joined:
    Nov 22, 2020
    Posts:
    3

    You're goddamn brilliant! Thanks a lot
    Works for 2020.3.5f1
     
  32. SuryaPrakashModi

    SuryaPrakashModi

    Joined:
    Mar 11, 2018
    Posts:
    9
    also worked for me. thanks.
     
  33. Abdul68

    Abdul68

    Joined:
    Jun 3, 2021
    Posts:
    1




    Very Thanks bro it worked......
     
  34. ashygoyal

    ashygoyal

    Joined:
    Oct 9, 2021
    Posts:
    4

    Thank you so much! I've been struggling with endless errors since last 2 days, related to both SDK and NDK.
    The default installs of SDK and NDK from the Unity Hub werent helping, either there was a version error or SDK/NDK not detected error! Had to download each of these from Google Developer portal and placethem in correct folders, to make it work! Wasnt able to get past this NDK version error, your hack saved the day!
    Thank you!

    To Unity devs, guys why is this such a big deal? Either get proper versions installed via Unity Hub or dont do any at all. Rather mentions steps/ instructions in the software, so that the user doesnt have to google for answers atleast.
     
  35. razzraziel

    razzraziel

    Joined:
    Sep 13, 2018
    Posts:
    395
    Search first, struggle later
     
  36. ChaitanyaD27

    ChaitanyaD27

    Joined:
    Nov 25, 2021
    Posts:
    2

    You have saved a lot of efforts....
     
  37. the_priest92

    the_priest92

    Joined:
    Nov 4, 2018
    Posts:
    2