2016-07-13, 03:28
Ok so I've tried to helping myself and manage to fix each of the problem up until this error so far but now I'm stuck because I can't find any post referencing the same errors.
here's what I'm using:
Ubuntu 14.04.4 downloaded from here http://releases.ubuntu.com/14.04/ubuntu-...-amd64.iso
NDK version r10e downloaded from here https://dl.google.com/android/repository...x86_64.zip
toolchain I assume 4.8 create with
OpenJRE 6 java version 1.6.0_39 (was originally using OpenJRE 7 but downgraded to fix problem but problem still exist)
though it stated that I have successfully build the dependencies, I did notice that it generated this message while building python27-native
was able to successfully build Kodi up till this point
$ cd $HOME/kodi-android
$ make -C tools/depends/target/xbmc
$ make
but make apk generated this error which I assume that I'm not using the right version of java though I tried to downgrade to java version 1.6.0_27 I could only find the version 1.6.0_39
Any Help would be appreciated. Since I've put a couple days into this already I really would like to get it working. P.S I'm a linux Noobie so please dumb the complicated stuff down for me
here's what I'm using:
Ubuntu 14.04.4 downloaded from here http://releases.ubuntu.com/14.04/ubuntu-...-amd64.iso
NDK version r10e downloaded from here https://dl.google.com/android/repository...x86_64.zip
toolchain I assume 4.8 create with
Code:
./make-standalone-toolchain.sh --ndk-dir=../../ --install-dir=/home/kodidev/Android/Toolchain/android-17 --platform=android-17 --toolchain=arm-linux-androideabi-4.8 --system=linux-x86_64
though it stated that I have successfully build the dependencies, I did notice that it generated this message while building python27-native
Code:
make[1]: Entering directory `/home/kodidev/kodi-android/tools/depends/native/python27-native/x86_64-linux-native'
running build
running build_ext
INFO: Can't locate Tcl/Tk libs and/or headers
Python build finished, but the necessary bits to build these modules were not found:
_bsddb _curses _curses_panel
_tkinter bsddb185 bz2
dbm dl gdbm
imageop sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
running build_scripts
make[1]: Leaving directory `/home/kodidev/kodi-android/tools/depends/native/python27-native/x86_64-linux-native'
was able to successfully build Kodi up till this point
$ cd $HOME/kodi-android
$ make -C tools/depends/target/xbmc
$ make
but make apk generated this error which I assume that I'm not using the right version of java though I tried to downgrade to java version 1.6.0_27 I could only find the version 1.6.0_39
Code:
Crunching PNG Files in source dir: xbmc/res
To destination dir: tmp/res
/home/kodidev/Android/Sdk/build-tools/24.0.0/aapt p -f -I /home/kodidev/Android/Sdk/platforms/android-17/android.jar -S tmp/res/ -M xbmc/AndroidManifest.xml -F images/kodiapp-debug-skeleton.apk -J xbmc/src
(skipping file '.gitkeep' due to ANDROID_AAPT_IGNORE pattern '.*')
(skipping file '.gitkeep' due to ANDROID_AAPT_IGNORE pattern '.*')
(skipping file '.gitkeep' due to ANDROID_AAPT_IGNORE pattern '.*')
(skipping file '.gitkeep' due to ANDROID_AAPT_IGNORE pattern '.*')
(skipping file '.gitkeep' due to ANDROID_AAPT_IGNORE pattern '.*')
mkdir -p xbmc/obj
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:296)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:406)
make[1]: *** [xbmc/classes.dex] Error 1
make[1]: Leaving directory `/home/kodidev/kodi-android/tools/android/packaging'
make: *** [apk] Error 2
Any Help would be appreciated. Since I've put a couple days into this already I really would like to get it working. P.S I'm a linux Noobie so please dumb the complicated stuff down for me
![Big Grin Big Grin](https://forum.kodi.tv/images/smilies/grin.png)