Hello,
Can anybody help me please with my compiling source for android. I am using this guide https://github.com/xbmc/xbmc/blob/master…E.android.
I went through steps up to 5. But i don’t know what to do next. I am using Ubuntu “Xenial Xerus” (16.04). for toolchains i ran:
./make-standalone-toolchain.sh –ndk-dir=../../ –install-dir=/opt/x86-linux-4.9-vanilla/android-21 –platform=android-21 –toolchain=x86-4.9 –arch=x86
Can somebody help me what to run in ./configure. I want to make apk file and run it on my android phone. I tried with :
./configure –with-tarballs=/opt/xbmc-tarballs –host=i686-linux-android –with-sdk-path=/opt/android-sdk_r24.4.1-linux –with-ndk=/opt/android-ndk-r12b –with-toolchain=/opt/x86-linux-4.9-vanilla/android-21 –prefix=/opt/xbmc-depends
and got following output:
toolchain: /opt/x86-linux-4.9-vanilla/android-21
cpu: i686
host: i686-linux-android
sdk-platform: android-17
build-tools: /opt/android-sdk_r24.4.1-linux/tools:/opt/android-sdk_r24.4.1-linux/platform-tools:/opt/android-sdk_r24.4.1-linux/build-tools/24.0.0-preview
use simulator:
`target/config.site’ -> `/opt/xbmc-depends/i686-linux-android-android-17/share/config.site’
`target/Toolchain.cmake’ -> `/opt/xbmc-depends/i686-linux-android-android-17/share/Toolchain.cmake’
`native/config.site.native’ -> `/opt/xbmc-depends/x86_64-linux-gnu-native/share/config.site’
What do i run next. Instructions are unclear. It says make -j <jobs>. What are jobs?
i tried running just make and got:
CMake Error at CMakeLists.txt:283 (message):
CMAKE_USE_SYSTEM_CURL is ON but a curl is not found!
Call Stack (most recent call first):
CMakeLists.txt:533 (CMAKE_BUILD_UTILITIES)
— Configuring incomplete, errors occurred!
See also “/root/kodi-android/tools/depends/native/cmake-native/x86_64-linux-native/CMakeFiles/CMakeOutput.log”.
See also “/root/kodi-android/tools/depends/native/cmake-native/x86_64-linux-native/CMakeFiles/CMakeError.log”.
———————————————
Error when bootstrapping CMake:
Problem while running initial CMake
———————————————
make[2]: *** [x86_64-linux-native] Error 11
make[2]: Leaving directory `/root/kodi-android/tools/depends/native/cmake-native’
make[1]: *** [cmake-native] Error 2
make[1]: Leaving directory `/root/kodi-android/tools/depends/native’
make: *** [native/.installed-x86_64-linux-native] Error 2
I am not sure what is happening. Can someone help?