CMD到setup.py目录
Python setup.py -h 查看帮助:
Options:
-h,--help showthis help message and exit
-n NDK_ROOT, --ndkroot=NDK_ROOT
directoryof ndk root
-a ANDROID_SDK_ROOT, --androidsdkroot=ANDROID_SDK_ROOT
directoryof Android sdk root
-t ANT_ROOT, --antroot=ANT_ROOT
directorythat contains ant/ant.bat
python setup.py -n "D:Programandroid-ndk-r9d" 此处是你想修改后的路径!