title: linphone 'make' error: Could not find ndk-build, Could not find android
body: <p>I've followed multiple solutions, but still have no resolution. This is what I have...</p>
  
  <p>Linphone residing in eclipse project root directory: </p>
  
  <pre><code>:~/workspace/David2/linphone-android$ 
  </code></pre>
  
  <p>my <code>.bashrc</code> is as follows:</p>
  
  <pre><code>export PATH=${PATH}:/home/david/Desktop/android/android-sdk-linux/tools
  
  export PATH=${PATH}:/home/david/Desktop/android/android-sdk-linux/platform-tools
  
  export PATH=${PATH}:/home/david/Desktop/android/android-ndk-r10c
  </code></pre>
  
  <p>My android-sdk is in directory according to paths, same goes for the NDK..</p>
  
  <p>The following is what I run in my Linphone dir...</p>
  
  <pre><code>~/workspace/David2/linphone-android$ sudo make
  Could not find ndk-build. Please install android NDK.
  Could not find android. Please install android SDK.
  </code></pre>
  
  <p>Running Dual boot with: <code>"Ubuntu 14.04.3 LTS"</code></p>
  
  <p>Linphone: <code>sudo git clone git://git.linphone.org/linphone-android.git –recursive</code></p>
  
  <p>Directory to show where SDK/NDK are located</p>
  
  <p><code>~/Desktop/android$ dir
  android-ndk-r10c           android-sdk-linux
  </code></p>
  
  <p>I have no idea why it is not recognizing paths.. Only thing I could think of is that <code>export PATH=${PATH}:</code> is in wrong format...</p>
  
  <p>Eclipse is set to corresponding paths also...</p>
  
  <p><a href="http://i.stack.imgur.com/TPz2M.png" rel="nofollow">Eclipse NDK Location</a></p>
  
  <p><a href="http://i.stack.imgur.com/r0BVz.png" rel="nofollow">Eclipse SDK Location</a></p>