Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android NDK installation issues

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:

enter image description here

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?

like image 766
Akeshwar Jha Avatar asked Mar 11 '16 06:03

Akeshwar Jha


People also ask

How do I know if Android NDK is installed?

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.

Where is NDK installed?

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.

What is difference between Android NDK and sdk?

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.

Is NDK necessary for Android Studio?

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.


1 Answers

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.

like image 176
Francesca Nannizzi Avatar answered Oct 04 '22 18:10

Francesca Nannizzi