Android SDK Manager Install Specific Version of NDK Bundle

后端 未结 3 1661
臣服心动
臣服心动 2021-02-14 08:55

I\'m trying to install NDK 15c and I can\'t seem to figure out how to tell sdkmanager the version. If I run

sdkmanager \"ndk-bundle\"

I will ge

3条回答
  •  盖世英雄少女心
    2021-02-14 09:38

    As stated in the docs:

    1. Use the sdkmanager tool to view versions of CMake and NDK packages that are available:

      sdkmanager --list
      
    2. Pass the sdkmanager the strings for the packages that you want to install. For example, to install CMake and the NDK, use the following syntax:

      sdkmanager --install
        "ndk;major.minor.build"
        "cmake;major.minor.micro.build"
      

提交回复
热议问题