Search Unity

Does Unity use Android NDK?

Discussion in 'Android' started by razormax, Apr 6, 2011.

  1. razormax

    razormax

    Joined:
    Nov 2, 2010
    Posts:
    151
    I wanted to know whether Unity android uses Android NDK while compiling or not.
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    Yes
    You can't compile to native code without NDK and unity only runs on native code
     
  3. razormax

    razormax

    Joined:
    Nov 2, 2010
    Posts:
    151
    Thanks dreamora, good to know that Unity only runs on native code :D. That's what i wanted.
     
  4. razormax

    razormax

    Joined:
    Nov 2, 2010
    Posts:
    151
    ...and thanks, you are always quick to reply our newbie queries...
     
  5. Deleted User

    Deleted User

    Guest

    Is this correct? I may be missing something but I've successfully compiled and worked with Java+Android SDK without having to use NDK...
     
  6. Agent_007

    Agent_007

    Joined:
    Dec 18, 2011
    Posts:
    899
    Is what correct?

    You can write Android apps without NDK, but as Dreamora said, Unity for Android requires NDK because of the need for fast native code (ARM assembly).