Is it possible to install the Android sdk on ARM ?

1,868 views
Skip to first unread message

DomDom

unread,
Sep 29, 2014, 10:20:32 AM9/29/14
to kivy-...@googlegroups.com
Hello,

1) Kivy seems to be fantastic. That's why I wish I could use it ...

2) When trying to build a test app on a raspberry Pi (B+) with a raspbian OS, an error occurs (see log below).
As far as I understand (I'm only a python amateur "developer" ;-) ), the swt.jar file  doesn't exist in my sdk, because the arm lib doesn't exist.
(buildozer, sdk, ndk,... were installed following this command: buildozer -v android debug)

Is it possible to install the arm version of the sdk onto the raspberry ? I wonder if it exists... 
If yes, how ?

Thank for any help
Dominique


pi@raspberrypi
~/pidom $ buildozer -v android debug
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Read available permissions from api-versions.xml
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Programme « dpkg » de gestion de paquets Debian version 1.16.15 (armhf).
Ce programme est un logiciel libre ; veuillez consulter la « GNU General
Public License » version 2 ou supérieure pour prendre connaissance des
conditions de reproduction. AUCUNE garantie n'est offerte.
# Search for Git (git)
#  -> found at /
usr/bin/git
# Search for Cython (cython)
#  -> found at /usr/local/bin/cython
# Search for Java compiler (javac)
#  -> found at /usr/lib/jvm/jdk-7-oracle-armhf/bin/javac
# Search for Java keytool (keytool)
#  -> found at /usr/lib/jvm/jdk-7-oracle-armhf/jre/bin/keytool
# Install platform
# Apache ANT found at /home/pi/.buildozer/android/platform/apache-ant-1.8.4
# Android SDK found at /home/pi/.buildozer/android/platform/android-sdk-21
# Android NDK found at /home/pi/.buildozer/android/platform/android-ndk-r9c
# Run '/home/pi/.buildozer/android/platform/android-sdk-21/tools/android list sdk -u -e'
# Cwd /home/pi/.buildozer/android/platform
SWT folder
'/home/pi/.buildozer/android/platform/android-sdk-21/tools/lib/arm' does not exist.
Please export ANDROID_SWT to point to the folder containing swt.jar for your platform.
# Command failed: /home/pi/.buildozer/android/platform/android-sdk-21/tools/android list sdk -u -e



Ben Rousch

unread,
Sep 29, 2014, 10:29:12 AM9/29/14
to kivy-...@googlegroups.com
Google does not provide an Android SDK for ARM, so you need to compile your own or try to extract it from an existing project like AIDE. This is not simple, but if you search for it you can probably find instructions.

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
 Ben Rousch
   bro...@gmail.com
   http://clusterbleep.net/

DomDom

unread,
Sep 30, 2014, 11:40:34 AM9/30/14
to kivy-...@googlegroups.com

Hi Ben,
Thanks a lot for your swift answer and forgive me for not coming back to you earlier.
OK. That's what I feared.
I saw something there but I imagine every line of command will result in questions, bugs, modifications to do and so on ...

I'll try and build another PC with linux.
Already done with some old stuff but kivy could not work because I could only install openGL < 2.0  ;-(
That's why I tried to install it on a raspberry!

Anyway, thanks a lot.
I'll get back here since I'll forcably have questions ;-)

Dominique
Reply all
Reply to author
Forward
0 new messages