[Solved]Compile: still "You need the NDKv8b or later" Error
Posted: 20 Nov 2012 03:07
(first forgive my broken English...)
I followed AndroidCompile(http://wiki.videolan.org/AndroidCompile) to try to compile VLC for Android
but I got an error and I don't know how to solve it on earth...
My OS is Ubuntu 12.04.1 LTS x86_64
Android SDK is OK (I get it from "adt-bundle-linux.zip")
and I have downloaded NDK from http://developer.android.com/tools/sdk/ndk/index.html (file: android-ndk-r8c-linux-x86.tar.bz2) and Decompressed into my android folder(folder renamed "ndk")
I also have done it (for Android Emulator):
zj@ubuntu:~/Android_bundle/vlc/android$ export ANDROID_SDK=\$HOME/Android_bundle/sdk
zj@ubuntu:~/Android_bundle/vlc/android$ export ANDROID_NDK=\$HOME/Android_bundle/ndk
zj@ubuntu:~/Android_bundle/vlc/android$ export PATH=$PATH:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools
zj@ubuntu:~/Android_bundle/vlc/android$ export ANDROID_ABI=armeabi
zj@ubuntu:~/Android_bundle/vlc/android$ export NO_ARMV6=1
but when run it:
zj@ubuntu:~/Android_bundle/vlc/android$ sh compile.sh
says:
You need the NDKv8b or later
please help...
I followed AndroidCompile(http://wiki.videolan.org/AndroidCompile) to try to compile VLC for Android
but I got an error and I don't know how to solve it on earth...
My OS is Ubuntu 12.04.1 LTS x86_64
Android SDK is OK (I get it from "adt-bundle-linux.zip")
and I have downloaded NDK from http://developer.android.com/tools/sdk/ndk/index.html (file: android-ndk-r8c-linux-x86.tar.bz2) and Decompressed into my android folder(folder renamed "ndk")
I also have done it (for Android Emulator):
zj@ubuntu:~/Android_bundle/vlc/android$ export ANDROID_SDK=\$HOME/Android_bundle/sdk
zj@ubuntu:~/Android_bundle/vlc/android$ export ANDROID_NDK=\$HOME/Android_bundle/ndk
zj@ubuntu:~/Android_bundle/vlc/android$ export PATH=$PATH:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools
zj@ubuntu:~/Android_bundle/vlc/android$ export ANDROID_ABI=armeabi
zj@ubuntu:~/Android_bundle/vlc/android$ export NO_ARMV6=1
but when run it:
zj@ubuntu:~/Android_bundle/vlc/android$ sh compile.sh
says:
You need the NDKv8b or later
please help...