Android NDK Default location

前端 未结 9 1483
被撕碎了的回忆
被撕碎了的回忆 2021-02-05 01:34

I am used to previous versions of NDK builds which came in zip format. I downloaded the recent r10 version for windows which had a .exe version. The exe version is

相关标签:
9条回答
  • 2021-02-05 01:42

    The latest version extracts itself inside the current working directory. So if you launched it from the explorer, that's the same directory as your .exe.

    You should find an android-ndk-rXXX folder there. Otherwise that means it wasn't extracted.

    It's always better to use the latest NDK, there are many bug fixes and improvements with each releases... You can open the .exe as an archive with 7zip, and extract it somewhere else if you need, or launch the .exe from a terminal set where you want to have it extracted.

    0 讨论(0)
  • 2021-02-05 01:45

    Android Studio 2.2 installs it in C:\Users\[username]\AppData\Local\Android\Sdk\ndk-bundle (on Windows 10).

    0 讨论(0)
  • 2021-02-05 01:46

    If you install from Android studio and not by downloading manually, you will find it in:

    C:{Whatever place you had your root android installed}sdk\ndk-bundle

    the path depends on where you had your root sdk folder installed.

    0 讨论(0)
  • 2021-02-05 01:47

    I am using Visual Studio, but I also want to play with Android Studio. So, in order to get the Android SDK and NDK, I installed Android Studio.

    The Answer

    Android Studio installed the SDK naturally at

    C:\Users\<UserName>\AppData\Local\Android\Sdk
    

    The NDK folder is not yet ready, but is/will exist at

    C:\Users\<UserName>\AppData\Local\Android\Sdk\ndk-bundle
    

    In order to flush out the folder with the actual NDK, I had to tell Android Studio to install the NDK.

    File -> Settings

    Select Appearance and Behavior -> System Settings -> Android SDK

    Click on the SDK Tools Tab

    Checkbox the NDK (And, I think, the LLDB and CMake options).

    Select Apply/Install.

    Now that NDK folder should be good to go.

    0 讨论(0)
  • 2021-02-05 01:55

    Windows 10 and Internet Download Manager thew mine into C:\Users\[username]\AppData\Roaming\IDM

    0 讨论(0)
  • 2021-02-05 01:56

    In Windows 10, It landed in

    C:\Users[username]\AppData\Local\VirtualStore\Windows\SysWOW64\android-ndk-r10e

    0 讨论(0)
提交回复
热议问题