title: Compiling VLC android ubuntu
body: <p>I am having trouble in compiling VLC on Ubuntu. I followed this tutorial 
  <a href="https://wiki.videolan.org/AndroidCompile/" rel="nofollow">https://wiki.videolan.org/AndroidCompile/</a>
  Everything was going smooth when This issue came up when I tried to run the app from the android studio</p>
  
  <blockquote>
    <p>Error:Execution failed for task ':libvlc:buildDebugARMv5'.
    Process 'command './compile-libvlc.sh'' finished with non-zero exit value 1</p>
  </blockquote>
  
  <p>Along with a message that </p>
  
  <blockquote>
    <p>You need the NDKv10 or later</p>
  </blockquote>
  
  <p>My NDK version is android-ndk-r10e which the latest one. 
  My NDK and SDK paths are set in the environment as I have checked them using echo.</p>
  
  <p>If I try to compile from terminal</p>
  
  <pre><code>areeb@areeb:~/android$ sh compile.sh -a armeabi-v7a
  VLC source found
  Configuring
  You need the NDKv10 or later
  areeb@areeb:~/android$ 
  </code></pre>
  
  <p>Hope anyone have faced this and have surpassed this as well.
  Thanks in advance.</p>