Search Unity

Unity 2019.1 with NDK 17c?

Discussion in 'Android' started by DrMaxP, Sep 3, 2019.

  1. DrMaxP

    DrMaxP

    Joined:
    Sep 18, 2018
    Posts:
    22
    I'm new to Android development with Unity and am after some input from the community who are experienced in this matter. I understand that Unity does not officially support versions of the NDK other than the version it ships with. In the case of 2019.1 this is NDK 16b. The issue we have is that we have components built against NDK 17c. What will happen if we target a different version of the NDK for 2019.1 and how likely is it that we will have issues with 17c when Unity expects (or only officially supports) 16b? Is there good backwards compatibility? Do we really need to go back and build our dependencies against 16b?
     
  2. DrMaxP

    DrMaxP

    Joined:
    Sep 18, 2018
    Posts:
    22
    Is no-one doing this or am I talking about a non issue?
     
  3. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    1,959
    If you're building a static library, then you might get linker errors. If you're building a shared library, you might be fine, but it depends. In any case, see if it works.

    Alternatively, you might wanna wait for 2019.3, which targets NDK 19