Skip to content

Most visited

Recently visited


x86 Support

The NDK includes support for the x86 ABI, which allows native code to run on Android-based devices running on CPUs supporting the IA-32 instruction set.


Binaries targeting x86 will be built by default. If you have set APP_ABI in your file, ensure that it is either set to "all" or includes "x86". For example:

APP_ABI := armeabi-v7a arm64-v8a x86

For more information about defining the APP_ABI variable, see

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

The Android package extracts these libraries when installing your APK on a compatible x86-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.

Standalone Toolchain

You can target x86 ABI with a standalone toolchain. For more information, see Standalone Toolchain.

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. (Dec 2017 Android Platform & Tools Survey)