Skip to content

Most visited

Recently visited


MIPS Support

On this page

  1. Overview
  2. Compatibility

The NDK supports the mips ABI, which allows native code to run on Android-based devices that have CPUs supporting the MIPS32 instruction set.

Note: This ABI is deprecated in NDK r16 and will be removed in NDK r17.


To generate MIPS machine code, include mips in your file's APP_ABI definition. For example:

APP_ABI := mips

For more information about defining the APP_ABI variable, see

The build system places generated libraries into $PROJECT/libs/mips/, where $PROJECT represents your project's root directory, and embeds them in your APK under the /lib/mips/ directory.

The Android package manager extracts these libraries when installing your APK on a compatible MIPS-based device, placing them under your app's private data directory.

In the Google Play Store, the server filters applications so that a consumer sees only the native libraries that run on the CPU powering his or her device.


MIPS support requires, at minimum, Android 2.3 (Android API level 9). If your project files target an older API level, but include MIPS as a targeted platform, the NDK build script automatically selects the right set of native platform headers/libraries for you.

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields


Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (April 2018 — Developer Survey)