Now that Android Studio is installed you have to run it (of course).  Once up and running we need to install the plugin NASM Language.  (See Github too)To do this look in the menu for Tools, Android, SDK manager.  In the Default Settings menu click Plugins and if not visible yet, type in the search box "NASM".  The Nasm language plugin should be visible, check it and click install.

Once installed Android Studio needs to restart and the plugin should be installed and waiting for it's first assembly language program.  However, on my system there was indeed assembler support for x86_64 systems but it is with YASM not NASM.  Yasm should be the same as Nasm, in that matter that it supports nasm syntax.  But supporting a syntax isn't the same as supporting nasm completely.  I have had difficulties with yasm when it comes up to assembling files and that's why I don't use yasm.  Anyway, when adding a .asm file Android will be triggered to download the yasm assembler.  Let Android Studio do the download and installation of yasm, we will change yasm with nasm once it has finished the installation.  In the meanwhile you can download the latest release of nasm,

Once finished and assuming that android-sdk is installed in your /opt/ directory, open a terminal and go to /opt/android-sdk/ndk-bundle/prebuilt/linux-x86_64/bin (cd /opt/android-sdk/ndk-bundle/prebuilt/linux-x86_64/bin) and find yasm.  Rename this baby to yasm-backup and copy nasm to this directory (cp /usr/bin/nasm .)  The only thing we need to do is to rename nasm to yasm (mv nasm yasm).  To check if all is done the right way (why shouldn't it) use nasm -v to check the nasm version.  On my system it shows NASM version 2.13.01 compiled on May  1 2017 on the command line.

There is also a plugin NASM Assembly support but for some reason this won't work in Android Studio, I didn't install it because it crashes once Android Studio is started.

With Android Studio started we can start the making of our first assembly language Android project.  In the next article I guide you through the (more or less long) process to let Android Studio know that it has to assemble, and link your program together with C++ and Java.