Reputation: 145
I've followed multiple solutions, but still have no resolution. This is what I have...
Linphone residing in eclipse project root directory:
:~/workspace/David2/linphone-android$
my .bashrc
is as follows:
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
My android-sdk is in directory according to paths, same goes for the NDK..
The following is what I run in my Linphone dir...
~/workspace/David2/linphone-android$ sudo make
Could not find ndk-build. Please install android NDK.
Could not find android. Please install android SDK.
Running Dual boot with: "Ubuntu 14.04.3 LTS"
Linphone: sudo git clone git://git.linphone.org/linphone-android.git –recursive
Directory to show where SDK/NDK are located
~/Desktop/android$ dir
android-ndk-r10c android-sdk-linux
I have no idea why it is not recognizing paths.. Only thing I could think of is that export PATH=${PATH}:
is in wrong format...
Eclipse is set to corresponding paths also...
Upvotes: 3
Views: 3267
Reputation: 145
Okay, so I have succeeded with $ make
10c
(EDIT - Built successfully with
NDK 10e
latest android sdk
1. Put all folders (including linphone-android
in /home
directory
2. .bashrc
set is as follows:
export PATH=${PATH}:/home/david/android-sdk-linux/tools
export PATH=${PATH}:/home/david/android-sdk-linux/platform-tools
export PATH=${PATH}:/home/david/android-ndk-r10c
(Download `android-ndk-r10c` from Google)
3. Next, change permissions on check_tools.sh
located in linphone
root directory.
4. chown -R user:user check_tools.sh
-- replace user with your user/group etc...
Since I have dual boot + Windows/Ubuntu, I did this:
`$ vi check_tools` --> add `set fileformat=dos` to top of file
or set fileformat=unix
depending on your system to top of file...
5. Revert owner
of check_tools.sh
back to root:root
6. Open up new terminal Ctrl+Alt+T
and type sudo apt-get install liblwp-protocol-https-perl
-- Otherwise you will get a https error..
7. Finally, open up new terminal Ctrl+Alt+T
, go to linphone-android
root.. type make
> `$ sudo make` displayed errors, but `$ make` seemed to work fine...
8. Leave makefile
alone, did no changes to it...
Hopefully this helps anyone out who is experiencing "like" issues...
Thanks for the help!
Upvotes: 1