Looks like the environment path and the local.properties files are pointing to different locations:
PATH:
C:\Program Files (x86)\Android\android-ndk-r9d
local.properties: C\:\\Program Files (x86)\\Android\\android-studio\\android-ndk-r9d
Make sure which is right.
You can keep the PATH and drop the local.properties declerations,
and then try this command through the console
: ndk-build -?
to see if it was found in PATH