I'm trying to install the NDK bundle in Android Studio 2.0 (beta). Following this official link. The zip file gets downloaded completely, but it gets stuck while unzipping some file mtd.h. Here's the screenshot:

It's stuck here for about 30 minutes by now. I tried cancelling and redownloading, but the unzipping process always gets stuck at the same place. Any ideas upon why is it happening?
With a project open, click Tools > SDK Manager. Click the SDK Tools tab. Select the NDK (Side by side) and CMake checkboxes. Note: If you have an NDK installed in the ndk-bundle folder, it appears in the list with the label NDK.
Android Studio installs all versions of the NDK in the android-sdk /ndk/ directory. Each version is located in a subdirectory with the version number as its name.
Android provides Native Development Kit (NDK) to support native development in C/C++, besides the Android Software Development Kit (Android SDK) which supports Java. [TODO] more. NDK is a complex and advanced topics.
The Android Native Development Kit (NDK): a set of tools that allows you to use C and C++ code with Android. CMake: an external build tool that works alongside Gradle to build your native library. You do not need this component if you only plan to use ndk-build.
Sounds like a bug in Android Studio. If you want to file a bug report, there are some instructions for doing so here. You can always download the NDK separately and move it to the ndk-bundle location manually.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With