Page 1 of 1

[Solved]Compile: still "You need the NDKv8b or later" Error

Posted: 20 Nov 2012 03:07
by zj262144
(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...

Re: [Help]Compile: still "You need the NDKv8b or later" Erro

Posted: 20 Nov 2012 08:44
by robinwei1979
Check your NDK version and see the content in RELEASE.TXT under NDK folder.

Re: [Help]Compile: still "You need the NDKv8b or later" Erro

Posted: 20 Nov 2012 13:48
by zj262144
@robinwei1979

it's "r8c"

Re: [Help]Compile: still "You need the NDKv8b or later" Erro

Posted: 20 Nov 2012 22:40
by edwardw
Works fine for me with NDK r8c.

Re: [Help]Compile: still "You need the NDKv8b or later" Erro

Posted: 21 Nov 2012 07:58
by zj262144
I got the point (I'm really :geek: ...)

Code: Select all

export ANDROID_NDK=\$HOME/Android_bundle/ndk
This should be

Code: Select all

export ANDROID_NDK=~/Android_bundle/ndk