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

VLC for Android and Chrome OS specific usage questions
zj262144
New Cone
New Cone
Posts: 6
Joined: 20 Nov 2012 02:50

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

Postby zj262144 » 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...

robinwei1979
Blank Cone
Blank Cone
Posts: 10
Joined: 18 Aug 2012 22:44

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

Postby robinwei1979 » 20 Nov 2012 08:44

Check your NDK version and see the content in RELEASE.TXT under NDK folder.

zj262144
New Cone
New Cone
Posts: 6
Joined: 20 Nov 2012 02:50

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

Postby zj262144 » 20 Nov 2012 13:48

@robinwei1979

it's "r8c"

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

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

Postby edwardw » 20 Nov 2012 22:40

Works fine for me with NDK r8c.

zj262144
New Cone
New Cone
Posts: 6
Joined: 20 Nov 2012 02:50

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

Postby zj262144 » 21 Nov 2012 07:58

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


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 7 guests