request a guide to build for androids
#1
I have successfully compiled windows and linux build with the guide in inputstream adaptive github site. But I'm struggling with androids build. Could you please add a guide for androids?
Reply
#2
push up this thread, i need to a guide for build inputstream.adaptive. Im working on Ubuntu and need the addon for the armv7 system.
That's where I am.

1. I can build kodi and create an .apk for armv7 
Quote:cd $HOME
git clone https://github.com/xbmc/xbmc kodi
oder
Git Updaten
cd $HOME/kodi
git pull
-------------------
cd $HOME/kodi/tools/depends
./bootstrap
-------------------
./configure --with-tarballs=$HOME/android-tools/xbmc-tarballs --host=arm-linux-androideabi --with-sdk-path=$HOME/android-tools/android-sdk-linux --with-ndk-path=$HOME/android-tools/android-ndk-r21e --prefix=$HOME/android-tools/xbmc-depends
------------------
mkdir $HOME/kodi-build
make -C tools/depends/target/cmakebuildsys BUILD_DIR=$HOME/kodi-build
------------------
cd $HOME/kodi-build
make -j$(getconf _NPROCESSORS_ONLN)
------------------
make apk
how do i proceed to build addon inputstream.adaptive?
please provide an example of master build and an example of a specific commit, thanks
Reply
#3
https://github.com/xbmc/xbmc/blob/master...ry-add-ons

make -j$(getconf _NPROCESSORS_ONLN) binary-addons ADDONS="inputstream.adaptive"
Reply
#4
ok, with this command i can build the addon and put it in a zip file, Installation is successful.
Quote:cd kodi
make -j$(getconf _NPROCESSORS_ONLN) -C ~/kodi/tools/depends/target/binary-addons ADDONS="inputstream.adaptive" EXTRA_CMAKE_ARGS="-DPACKAGE_ZIP=ON -DPACKAGE_DIR=`pwd`" PACKAGE=1
It looks like one of the latest versions will be created. Is there a way to build a specific commit? 

Between 21.1.0 und 21.1.1 was there a change somewhere, resulting in a crash on 4k streams
So now I want to go through every commit and test where it crashes for me on an ARMv7 system
Reply
#5
im not familiar with targeting builds in that way

nor am i familiar with cherry picking commits, all i ever do is git clone a branch and build from there
Reply
#6
see https://github.com/xbmc/xbmc/tree/master/cmake/addons
you can override the ADDONS_DEFINITION_DIR by passing it to EXTRA_CMAKE_ARGS.

e.g.
make -j$(getconf _NPROCESSORS_ONLN) -C ~/kodi/tools/depends/target/binary-addons ADDONS="inputstream.adaptive" EXTRA_CMAKE_ARGS="-DPACKAGE_ZIP=ON -DPACKAGE_DIR=`pwd` -DADDONS_DEFINITION_DIR=/path/to/modified_binary_addons.txt " PACKAGE=1

see https://github.com/xbmc/xbmc/blob/master...addons.txt
and https://github.com/xbmc/repo-binary-addo...aptive.txt  <- replace Omega with your commit id
Reply
#7
@wsnipex

Thank you for your detailed reply!
Reply
#8
(2023-06-29, 21:44)kampfi Wrote: So now I want to go through every commit and test where it crashes for me on an ARMv7 system

Did you you have any luck in finding the commit that causes the crash?
Reply

Logout Mark Read Team Forum Stats Members Help
request a guide to build for androids0