Kodi Community Forum
How to compile xbmc source code for Android TV Top box - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+---- Forum: Android Development (https://forum.kodi.tv/forumdisplay.php?fid=184)
+---- Thread: How to compile xbmc source code for Android TV Top box (/showthread.php?tid=152531)



How to compile xbmc source code for Android TV Top box - zzcdyx - 2013-01-18

I wanna compile the xbmc source code for my TV top box.But my box can't support neon, the CPU is Armv7,the OS is Android 4.0
I download the source code from https://github.com/xbmc/xbmc ,compile in Unbuntu12 and install it to the TV top box successfully.
But terrible trouble is that the xbmc can not run, the error info is "this xbmc package is not compatible with your device".
Can anybady tell me why and what can I do?
How can I compile and bulid a non neon xbmc apk for my TV top box?


RE: How to compile xbmc source code for Android TV Top box - Odon - 2013-01-18

Have a look here and search for non-neons
http://wiki.xbmc.org/index.php?title=XBMC_for_Android_specific_FAQ

There is a link to unofficial (and unsupported) builds.


RE: How to compile xbmc source code for Android TV Top box - Koying - 2013-01-18

(2013-01-18, 11:16)zzcdyx Wrote: How can I compile and bulid a non neon xbmc apk for my TV top box?
Sorry, non neon is unsupported by official XBMC, hence the error message.




RE: How to compile xbmc source code for Android TV Top box - zzcdyx - 2013-01-21

I can't use the compiled apk directly, because I will modify the XBMC soucre code and develop some add-ones,so I got compile and bulid the soucre code by myself.




RE: How to compile xbmc source code for Android TV Top box - davilla - 2013-01-21

see docs/README.android, then got to XDA forums and search out what was done to compile for non-neon. Make those changes. Then you should be able to compile what you need.


RE: How to compile xbmc source code for Android TV Top box - kemonine96 - 2013-01-21

(2013-01-21, 05:39)davilla Wrote: see docs/README.android, then got to XDA forums and search out what was done to compile for non-neon. Make those changes. Then you should be able to compile what you need.

The big item is a re-build of the CrystaX NDK and some tweaks that are in my android-tegra2 branch on github. Links below.

I also have a couple feature branches for work I did to extend the add-on API for android. android-feature-addon-launch-android-app in particular will add the ability to launch android intents from an add-on. I have a pull request for this item open too (https://github.com/xbmc/xbmc/pull/2060)

Tegra2 Branch: https://github.com/mcrosson/xbmc

CrystaX NDK for Tegra2: https://nuskunetworks.box.com/s/po6r84wr751rje26ldik


RE: How to compile xbmc source code for Android TV Top box - jimi82 - 2013-02-25

Hi

My I would like to know what is the concret SDK and NDK platform to build XBMC for android. If I built a pvr addon separately from XBMC source code and then I built a .zip file, my zip doesn't run witth the official XBMC FRODO APK for Andorid located in the official XBMC repositories. But if a compile my Addon with XBMC source code it works properly. I think it could be because i'm using a diferent SDK and NDK. Then show my SDK and NDK used by someone detects an error:

NDK: android-ndk-r7-crystax-5.beta3 with toolchain for platform android-14
SDK: SDK official android with platform android-14

*I tried using android-9 also.

Thanks for your attention.


RE: How to compile xbmc source code for Android TV Top box - TheQuestor - 2013-03-25

(2013-02-25, 17:10)jimi82 Wrote: Hi

My I would like to know what is the concret SDK and NDK platform to build XBMC for android. If I built a pvr addon separately from XBMC source code and then I built a .zip file, my zip doesn't run witth the official XBMC FRODO APK for Andorid located in the official XBMC repositories. But if a compile my Addon with XBMC source code it works properly. I think it could be because i'm using a diferent SDK and NDK. Then show my SDK and NDK used by someone detects an error:

NDK: android-ndk-r7-crystax-5.beta3 with toolchain for platform android-14
SDK: SDK official android with platform android-14

*I tried using android-9 also.

Thanks for your attention.

none are working right now. Looks like the tree is missing an entire directory "tools/android/xbmc" which I am pretty sure due to the new unified depends thing going on right now. Last revision I was able to build was cdf099d


RE: How to compile xbmc source code for Android TV Top box - brianf21 - 2013-04-05

tools/android/xbmc is now tools/depends/target/xbmc

(2013-03-25, 14:42)TheQuestor Wrote:
(2013-02-25, 17:10)jimi82 Wrote: Hi

My I would like to know what is the concret SDK and NDK platform to build XBMC for android. If I built a pvr addon separately from XBMC source code and then I built a .zip file, my zip doesn't run witth the official XBMC FRODO APK for Andorid located in the official XBMC repositories. But if a compile my Addon with XBMC source code it works properly. I think it could be because i'm using a diferent SDK and NDK. Then show my SDK and NDK used by someone detects an error:

NDK: android-ndk-r7-crystax-5.beta3 with toolchain for platform android-14
SDK: SDK official android with platform android-14

*I tried using android-9 also.

Thanks for your attention.

none are working right now. Looks like the tree is missing an entire directory "tools/android/xbmc" which I am pretty sure due to the new unified depends thing going on right now. Last revision I was able to build was cdf099d



This forum uses Lukasz Tkacz MyBB addons.