Kodi Community Forum

Full Version: How to compile xbmc source code for Android TV Top box
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
Have a look here and search for non-neons
http://wiki.xbmc.org/index.php?title=XBM...ecific_FAQ

There is a link to unofficial (and unsupported) builds.
(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.

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.

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.
(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
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.
(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
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