编译 VLC Android 失败 "You must define ANDROID_NDK, ANDROID_SDK before starting."

Compile VLC Android fail "You must define ANDROID_NDK, ANDROID_SDK before starting."

我从 page

获取最新代码并一步一步
$ sh compile.sh -a x84
You must define ANDROID_NDK, ANDROID_SDK before starting.
They must point to your NDK and SDK directories.

我在 Gnome CentOS 7 的终端上指向了 NDK 和 SDK

修改您的 compile.sh 脚本以查看变量是否被回显。如果没有,也许您需要在 compile.sh 脚本中对它们进行硬编码。例如,

ANDROID_NDK=/your/path/android-ndk
ANDROID_SDK=/your/path/android-sdk