kivy / buildozer

Generic Python packager for Android and iOS
https://buildozer.readthedocs.io
MIT License
1.75k stars 503 forks source link

Invalid NDK platform #253

Closed NumesSanguis closed 8 years ago

NumesSanguis commented 8 years ago

buildozer version: 0.31dev

./distribute.sh: line 346: [: too many arguments Check NDK location Invalid NDK platform Looking in /home/numessanguis3/.buildozer/android/platform/android-ndk-r9c/platforms/android-19 # 14/arch-arm Using ANDROIDNDK=/home/numessanguis3/.buildozer/android/platform/android-ndk-r9c and ANDROIDAPI=19 # 14

Full log: http://pastebin.com/53N7LrAS (1 month available, or see next comment)

./distribute.sh:

export NDKPLATFORM="$ANDROIDNDK/platforms/android-$ANDROIDAPI/arch-arm"
if [ $ANDROIDAPI -lt 21 ]; then    # **<-- line 346**
    export ARCH="armeabi"
else
    export ARCH="armeabi-v7a" # Required for android 21
fi
NumesSanguis commented 8 years ago

Log:

Completely clean install buildozer
Version: 0.31dev

# latest dev
git clone https://github.com/kivy/buildozer
cd buildozer
sudo python2.7 setup.py install
-----------------------------------------------------------------------------------

buildozer.spec:

[app]

# (str) Title of your application
title = KanjiOrigin

# (str) Package name
package.name = KanjiOriginPackage

# (str) Package domain (needed for android/ios packaging)
package.domain = deinemuther.org

# (str) Source code where the main.py live
source.dir = .

# (list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas,db,ttf,txt

# (list) Source files to exclude (let empty to not exclude anything)
#source.exclude_exts = spec

# (list) List of directory to exclude (let empty to not exclude anything)
source.exclude_dirs = bin  # tests,

# (list) List of exclusions using pattern matching
#source.exclude_patterns = license,images/*/*.jpg

# (str) Application versioning (method 1)
version = 0.3.2

# (str) Application versioning (method 2)
# version.regex = __version__ = ['"](.*)['"]
# version.filename = %(source.dir)s/main.py

# (list) Application requirements
# comma seperated e.g. requirements = sqlite3,kivy
requirements = kivy==master,sqlite3,docutils

# (str) Custom source folders for requirements
# Sets custom source for any requirements with recipes
# requirements.source.kivy = ../../kivy

# (list) Garden requirements
#garden_requirements =

# (str) Presplash of the application
#presplash.filename = %(source.dir)s/data/presplash.png

# (str) Icon of the application
#icon.filename = %(source.dir)s/data/icon.png

# (str) Supported orientation (one of landscape, portrait or all)
orientation = portrait

# (bool) Indicate if the application should be fullscreen or not
fullscreen = 0

#
# Android specific
#

# (list) Permissions
#android.permissions = INTERNET

# (int) Android API to use
android.api = 19  # 14

# (int) Minimum API required
android.minapi = 9  # 8

# (int) Android SDK version to use
#android.sdk = 20

# (str) Android NDK version to use
#android.ndk = 9c

# (bool) Use --private data storage (True) or --dir public storage (False)
#android.private_storage = True

# (str) Android NDK directory (if empty, it will be automatically downloaded.)
#android.ndk_path =

# (str) Android SDK directory (if empty, it will be automatically downloaded.)
#android.sdk_path =

# (str) ANT directory (if empty, it will be automatically downloaded.)
#android.ant_path =

# (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
#android.p4a_dir =

# (list) python-for-android whitelist
#android.p4a_whitelist = mywhitelist.txt  # UNLOCK?

# (str) Android entry point, default is ok for Kivy-based app
#android.entrypoint = org.renpy.android.PythonActivity

# (list) List of Java .jar files to add to the libs so that pyjnius can access
# their classes. Don't add jars that you do not need, since extra jars can slow
# down the build process. Allows wildcards matching, for example:
# OUYA-ODK/libs/*.jar
#android.add_jars = foo.jar,bar.jar,path/to/more/*.jar

# (list) List of Java files to add to the android project (can be java or a
# directory containing the files)
#android.add_src =

# (str) python-for-android branch to use, if not master, useful to try
# not yet merged features.
#android.branch = master

# (str) OUYA Console category. Should be one of GAME or APP
# If you leave this blank, OUYA support will not be enabled
#android.ouya.category = GAME

# (str) Filename of OUYA Console icon. It must be a 732x412 png image.
#android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png

# (str) XML file to include as an intent filters in <activity> tag
#android.manifest.intent_filters =

# (list) Android additionnal libraries to copy into libs/armeabi
#android.add_libs_armeabi = libs/android/*.so
#android.add_libs_armeabi_v7a = libs/android-v7/*.so
#android.add_libs_x86 = libs/android-x86/*.so
#android.add_libs_mips = libs/android-mips/*.so

# (bool) Indicate whether the screen should stay on
# Don't forget to add the WAKE_LOCK permission if you set this to True
#android.wakelock = False

# (list) Android application meta-data to set (key=value format)
#android.meta_data =

# (list) Android library project to add (will be added in the
# project.properties automatically.)
#android.library_references =

#
# iOS specific
#

# (str) Name of the certificate to use for signing the debug version
# Get a list of available identities: buildozer ios list_identities
#ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"

# (str) Name of the certificate to use for signing the release version
#ios.codesign.release = %(ios.codesign.debug)s

[buildozer]

# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
log_level = 2

# (int) Display warning if buildozer is run as root (0 = False, 1 = True)
warn_on_root = 1

#    -----------------------------------------------------------------------------
#    List as sections
#
#    You can define all the "list" as [section:key].
#    Each line will be considered as a option to the list.
#    Let's take [app] / source.exclude_patterns.
#    Instead of doing:
#
#[app]
#source.exclude_patterns = license,data/audio/*.wav,data/images/original/*
#
#    This can be translated into:
#
#[app:source.exclude_patterns]
#license
#data/audio/*.wav
#data/images/original/*
#

#    -----------------------------------------------------------------------------
#    Profiles
#
#    You can extend section / key with a profile
#    For example, you want to deploy a demo version of your application without
#    HD content. You could first change the title to add "(demo)" in the name
#    and extend the excluded directories to remove the HD content.
#
#[app@demo]
#title = My Application (demo)
#
#[app:source.exclude_patterns@demo]
#images/hd/*
#
#    Then, invoke the command line with the "demo" profile:
#
#buildozer --profile demo android debug

-----------------------------------------------------------------------------------

Bash:

numessanguis3@ubuntu:~$ cd bitbucket/kanjiorigin/KanjiOrigin
numessanguis3@ubuntu:~/bitbucket/kanjiorigin/KanjiOrigin$
numessanguis3@ubuntu:~/bitbucket/kanjiorigin/KanjiOrigin$ buildozer version
# Check configuration tokens
Buildozer 0.31dev
numessanguis3@ubuntu:~/bitbucket/kanjiorigin/KanjiOrigin$
numessanguis3@ubuntu:~/bitbucket/kanjiorigin/KanjiOrigin$
numessanguis3@ubuntu:~/bitbucket/kanjiorigin/KanjiOrigin$ buildozer android debug deploy run
# Check configuration tokens
# Ensure build layout
# Create directory /home/numessanguis3/.buildozer
# Create directory /home/numessanguis3/.buildozer/cache
# Create directory .buildozer
# Create directory /home/numessanguis3/bitbucket/kanjiorigin/KanjiOrigin/.buildozer/applibs
# Create directory /home/numessanguis3/.buildozer/android/platform/android/platform
# Create directory .buildozer/android/platform
# Create directory .buildozer/android/app
# Check configuration tokens
# Read available permissions from api-versions.xml
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Debian `dpkg' package management program version 1.17.5 (amd64).
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
# 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/java-7-openjdk-amd64/bin/javac
# Search for Java keytool (keytool)
#  -> found at /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/keytool
# Install platform
# Run 'git clone -b old_toolchain --single-branch https://github.com/kivy/python-for-android.git'
# Cwd /home/numessanguis3/bitbucket/kanjiorigin/KanjiOrigin/.buildozer/android/platform
Cloning into 'python-for-android'...
^A# Android ANT is missing, downloading
# Downloading http://archive.apache.org/dist/ant/binaries/apache-ant-1.9.4-bin.tar.gz
# Run 'tar xzf apache-ant-1.9.4-bin.tar.gz'
# Cwd /home/numessanguis3/.buildozer/android/platform
# Apache ANT installation done.
# Android SDK is missing, downloading
# Downloading http://dl.google.com/android/android-sdk_r20-linux.tgz
# Unpacking Android SDK
# Run 'tar xzf android-sdk_r20-linux.tgz'
# Cwd /home/numessanguis3/.buildozer/android/platform
# Rename /home/numessanguis3/.buildozer/android/platform/android-sdk-linux to /home/numessanguis3/.buildozer/android/platform/android-sdk-20
# Android SDK installation done.
# Android NDK is missing, downloading
# Downloading http://dl.google.com/android/ndk/android-ndk-r9c-linux-x86_64.tar.bz2
# Unpacking Android NDK
# Run 'tar xjf android-ndk-r9c-linux-x86_64.tar.bz2'
# Cwd /home/numessanguis3/.buildozer/android/platform
# Rename /home/numessanguis3/.buildozer/android/platform/android-ndk-r9c to /home/numessanguis3/.buildozer/android/platform/android-ndk-r9c
# Android NDK installation done.
# Run '/home/numessanguis3/.buildozer/android/platform/android-sdk-20/tools/android list sdk -u -e'
# Cwd /home/numessanguis3/.buildozer/android/platform
Refresh Sources:
 Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
 Validate XML
 Parse XML
 Fetched Add-ons List successfully
 Refresh Sources
 Fetching URL: https://dl-ssl.google.com/android/repository/repository-7.xml
 Validate XML: https://dl-ssl.google.com/android/repository/repository-7.xml
 Parse XML:    https://dl-ssl.google.com/android/repository/repository-7.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
 Fetching URL: https://dl-ssl.google.com/glass/gdk/addon.xml
 Validate XML: https://dl-ssl.google.com/glass/gdk/addon.xml
 Parse XML:    https://dl-ssl.google.com/glass/gdk/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Refresh Sources:
 Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Refresh Sources:
 Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Packages available for installation or update: 3
----------
id: 1 or "tools"
    Type: Tool
    Desc: Android SDK Tools, revision 22.6.2
----------
id: 2 or "platform-tools"
    Type: PlatformTool
    Desc: Android SDK Platform-tools, revision 19.0.1
----------
id: 3 or "addon-google_gdk-google-19"
    Type: Addon
    Desc: Glass Development Kit Preview, Android API 19, revision 11
          By Google Inc.
          Preview of the Glass Development Kit
          Requires SDK Platform Android API 19
Refresh Sources:
 Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
 Validate XML
 Parse XML
 Fetched Add-ons List successfully
 Refresh Sources
 Fetching URL: https://dl-ssl.google.com/android/repository/repository-7.xml
 Validate XML: https://dl-ssl.google.com/android/repository/repository-7.xml
 Parse XML:    https://dl-ssl.google.com/android/repository/repository-7.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
 Fetching URL: https://dl-ssl.google.com/glass/gdk/addon.xml
 Validate XML: https://dl-ssl.google.com/glass/gdk/addon.xml
 Parse XML:    https://dl-ssl.google.com/glass/gdk/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Refresh Sources:
 Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Refresh Sources:
 Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Packages available for installation or update: 3
----------
id: 1 or "tools"
    Type: Tool
    Desc: Android SDK Tools, revision 22.6.2
----------
id: 2 or "platform-tools"
    Type: PlatformTool
    Desc: Android SDK Platform-tools, revision 19.0.1
----------
id: 3 or "addon-google_gdk-google-19"
    Type: Addon
    Desc: Glass Development Kit Preview, Android API 19, revision 11
          By Google Inc.
          Preview of the Glass Development Kit
          Requires SDK Platform Android API 19

# Run (expect) '/home/numessanguis3/.buildozer/android/platform/android-sdk-20/tools/android update sdk -u -a -t tools,platform-tools'
# Cwd None
Picked up JAVA_TOOL_OPTIONS:  -Dfile.encoding=UTF-8
Picked up JAVA_TOOL_OPTIONS:  -Dfile.encoding=UTF-8
Picked up JAVA_TOOL_OPTIONS:  -Dfile.encoding=UTF-8
Refresh Sources:
 Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
 Validate XML
 Parse XML
 Fetched Add-ons List successfully
 Refresh Sources
 Fetching URL: https://dl-ssl.google.com/android/repository/repository-7.xml
 Validate XML: https://dl-ssl.google.com/android/repository/repository-7.xml
 Parse XML:    https://dl-ssl.google.com/android/repository/repository-7.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
 Fetching URL: https://dl-ssl.google.com/glass/gdk/addon.xml
 Validate XML: https://dl-ssl.google.com/glass/gdk/addon.xml
 Parse XML:    https://dl-ssl.google.com/glass/gdk/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Refresh Sources:
 Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Installing Archives:
 Preparing to install archives
 Downloading Android SDK Platform-tools, revision 19.0.1
 Installing Android SDK Platform-tools, revision 19.0.1
 Stopping ADB server failed (code -1).
   Installed Android SDK Platform-tools, revision 19.0.199%)
 Downloading Android SDK Tools, revision 22.6.2
 Installing Android SDK Tools, revision 22.6.2
   Installed Android SDK Tools, revision 22.6.299%)
   Stopping ADB server succeeded.
   Starting ADB server succeeded.
 Done. 2 packages installed.
# build-tools folder not found /home/numessanguis3/.buildozer/android/platform/android-sdk-20/build-tools
# Run '/home/numessanguis3/.buildozer/android/platform/android-sdk-20/tools/android list sdk -u -e -a'
# Cwd /home/numessanguis3/.buildozer/android/platform
Refresh Sources:
 Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
 Validate XML
 Parse XML
 Fetched Add-ons List successfully
 Refresh Sources
 Fetching URL: https://dl-ssl.google.com/android/repository/repository-9.xml
 Validate XML: https://dl-ssl.google.com/android/repository/repository-8.xml
 Parse XML:    https://dl-ssl.google.com/android/repository/repository-8.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
 Parse XML:    https://dl-ssl.google.com/android/repository/addon-6.xml
 Fetching URL: https://dl-ssl.google.com/glass/gdk/addon.xml
 Validate XML: https://dl-ssl.google.com/glass/gdk/addon.xml
 Parse XML:    https://dl-ssl.google.com/glass/gdk/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Refresh Sources:
 Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Packages available for installation or update: 51
----------
id: 1 or "tools"
    Type: Tool
    Desc: Android SDK Tools, revision 24.0.2
----------
id: 2 or "platform-tools"
    Type: PlatformTool
    Desc: Android SDK Platform-tools, revision 20
----------
id: 3 or "build-tools-19.1.0"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 19.1
----------
id: 4 or "build-tools-19.0.3"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 19.0.3
----------
id: 5 or "build-tools-19.0.2"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 19.0.2
----------
id: 6 or "build-tools-19.0.1"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 19.0.1
----------
id: 7 or "build-tools-19.0.0"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 19
----------
id: 8 or "build-tools-18.1.1"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 18.1.1
----------
id: 9 or "build-tools-18.1.0"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 18.1
----------
id: 10 or "build-tools-18.0.1"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 18.0.1
----------
id: 11 or "build-tools-17.0.0"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 17
----------
id: 12 or "doc-19"
    Type: Doc
    Desc: Documentation for Android SDK, API 19, revision 2
----------
id: 13 or "android-19"
    Type: Platform
    Desc: Android SDK Platform 4.4.2
          Revision 3
----------
id: 14 or "android-18"
    Type: Platform
    Desc: Android SDK Platform 4.3
          Revision 2
----------
id: 15 or "android-17"
    Type: Platform
    Desc: Android SDK Platform 4.2.2
          Revision 2
----------
id: 16 or "android-16"
    Type: Platform
    Desc: Android SDK Platform 4.1.2
          Revision 4
----------
id: 17 or "android-15"
    Type: Platform
    Desc: Android SDK Platform 4.0.3
          Revision 3
----------
id: 18 or "android-14"
    Type: Platform
    Desc: Android SDK Platform 4.0
          Revision 3
----------
id: 19 or "android-13"
    Type: Platform
    Desc: Android SDK Platform 3.2, revision 1
----------
id: 20 or "android-12"
    Type: Platform
    Desc: Android SDK Platform 3.1, revision 3
----------
id: 21 or "android-11"
    Type: Platform
    Desc: Android SDK Platform 3.0, revision 2
----------
id: 22 or "android-10"
    Type: Platform
    Desc: Android SDK Platform 2.3.3._r2
          Revision 2
----------
id: 23 or "android-9"
    Type: Platform
    Desc: Android SDK Platform 2.3.1_r2
          Revision 2 (Obsolete)
----------
id: 24 or "android-8"
    Type: Platform
    Desc: Android SDK Platform 2.2_r3
          Revision 3
----------
id: 25 or "android-7"
    Type: Platform
    Desc: Android SDK Platform 2.1_r3
          Revision 3
----------
id: 26 or "android-6"
    Type: Platform
    Desc: Android SDK Platform 2.0.1_r1
          Revision 1 (Obsolete)
----------
id: 27 or "android-5"
    Type: Platform
    Desc: Android SDK Platform 2.0, revision 1
----------
id: 28 or "android-4"
    Type: Platform
    Desc: Android SDK Platform 1.6_r2
          Revision 3
----------
id: 29 or "android-3"
    Type: Platform
    Desc: Android SDK Platform 1.5_r3
          Revision 4
----------
id: 30 or "android-2"
    Type: Platform
    Desc: Android SDK Platform 1.1_r1
          Revision 1 (Obsolete)
----------
id: 31 or "sample-19"
    Type: Sample
    Desc: Samples for SDK API 19, revision 5
----------
id: 32 or "sample-18"
    Type: Sample
    Desc: Samples for SDK API 18, revision 1
----------
id: 33 or "sample-17"
    Type: Sample
    Desc: Samples for SDK API 17, revision 1
----------
id: 34 or "sample-16"
    Type: Sample
    Desc: Samples for SDK API 16, revision 1
----------
id: 35 or "sample-15"
    Type: Sample
    Desc: Samples for SDK API 15, revision 2
----------
id: 36 or "sample-14"
    Type: Sample
    Desc: Samples for SDK API 14, revision 2
----------
id: 37 or "sample-13"
    Type: Sample
    Desc: Android SDK Samples for Android API 13, revision 1
----------
id: 38 or "sample-12"
    Type: Sample
    Desc: Android SDK Samples for Android API 12, revision 1
----------
id: 39 or "sample-11"
    Type: Sample
    Desc: Android SDK Samples for Android API 11, revision 1
----------
id: 40 or "sample-10"
    Type: Sample
    Desc: Android SDK Samples for Android API 10, revision 1
----------
id: 41 or "sample-9"
    Type: Sample
    Desc: Android SDK Samples for Android API 9, revision 1
----------
id: 42 or "sample-8"
    Type: Sample
    Desc: Android SDK Samples for Android API 8, revision 1
----------
id: 43 or "sample-7"
    Type: Sample
    Desc: Android SDK Samples for Android API 7, revision 1
----------
id: 44 or "addon-google_gdk-google-19"
    Type: Addon
    Desc: Glass Development Kit Preview, Android API 19, revision 11
          By Google Inc.
          Preview of the Glass Development Kit
          Requires SDK Platform Android API 19
----------
id: 45 or "source-19"
    Type: Source
    Desc: Sources for Android SDK, API 19, revision 2
----------
id: 46 or "source-18"
    Type: Source
    Desc: Sources for Android SDK, API 18, revision 1
----------
id: 47 or "source-17"
    Type: Source
    Desc: Sources for Android SDK, API 17, revision 1
----------
id: 48 or "source-16"
    Type: Source
    Desc: Sources for Android SDK, API 16, revision 2
----------
id: 49 or "source-15"
    Type: Source
    Desc: Sources for Android SDK, API 15, revision 2
----------
id: 50 or "source-14"
    Type: Source
    Desc: Sources for Android SDK, API 14, revision 1
----------
id: 51 or "extra-android-support"
    Type: Extra
    Desc: Android Support Library, revision 19.1
          By Android
          Install path: extras/android/support
Refresh Sources:
 Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
 Validate XML
 Parse XML
 Fetched Add-ons List successfully
 Refresh Sources
 Fetching URL: https://dl-ssl.google.com/android/repository/repository-9.xml
 Validate XML: https://dl-ssl.google.com/android/repository/repository-8.xml
 Parse XML:    https://dl-ssl.google.com/android/repository/repository-8.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
 Parse XML:    https://dl-ssl.google.com/android/repository/addon-6.xml
 Fetching URL: https://dl-ssl.google.com/glass/gdk/addon.xml
 Validate XML: https://dl-ssl.google.com/glass/gdk/addon.xml
 Parse XML:    https://dl-ssl.google.com/glass/gdk/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Refresh Sources:
 Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Packages available for installation or update: 51
----------
id: 1 or "tools"
    Type: Tool
    Desc: Android SDK Tools, revision 24.0.2
----------
id: 2 or "platform-tools"
    Type: PlatformTool
    Desc: Android SDK Platform-tools, revision 20
----------
id: 3 or "build-tools-19.1.0"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 19.1
----------
id: 4 or "build-tools-19.0.3"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 19.0.3
----------
id: 5 or "build-tools-19.0.2"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 19.0.2
----------
id: 6 or "build-tools-19.0.1"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 19.0.1
----------
id: 7 or "build-tools-19.0.0"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 19
----------
id: 8 or "build-tools-18.1.1"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 18.1.1
----------
id: 9 or "build-tools-18.1.0"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 18.1
----------
id: 10 or "build-tools-18.0.1"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 18.0.1
----------
id: 11 or "build-tools-17.0.0"
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 17
----------
id: 12 or "doc-19"
    Type: Doc
    Desc: Documentation for Android SDK, API 19, revision 2
----------
id: 13 or "android-19"
    Type: Platform
    Desc: Android SDK Platform 4.4.2
          Revision 3
----------
id: 14 or "android-18"
    Type: Platform
    Desc: Android SDK Platform 4.3
          Revision 2
----------
id: 15 or "android-17"
    Type: Platform
    Desc: Android SDK Platform 4.2.2
          Revision 2
----------
id: 16 or "android-16"
    Type: Platform
    Desc: Android SDK Platform 4.1.2
          Revision 4
----------
id: 17 or "android-15"
    Type: Platform
    Desc: Android SDK Platform 4.0.3
          Revision 3
----------
id: 18 or "android-14"
    Type: Platform
    Desc: Android SDK Platform 4.0
          Revision 3
----------
id: 19 or "android-13"
    Type: Platform
    Desc: Android SDK Platform 3.2, revision 1
----------
id: 20 or "android-12"
    Type: Platform
    Desc: Android SDK Platform 3.1, revision 3
----------
id: 21 or "android-11"
    Type: Platform
    Desc: Android SDK Platform 3.0, revision 2
----------
id: 22 or "android-10"
    Type: Platform
    Desc: Android SDK Platform 2.3.3._r2
          Revision 2
----------
id: 23 or "android-9"
    Type: Platform
    Desc: Android SDK Platform 2.3.1_r2
          Revision 2 (Obsolete)
----------
id: 24 or "android-8"
    Type: Platform
    Desc: Android SDK Platform 2.2_r3
          Revision 3
----------
id: 25 or "android-7"
    Type: Platform
    Desc: Android SDK Platform 2.1_r3
          Revision 3
----------
id: 26 or "android-6"
    Type: Platform
    Desc: Android SDK Platform 2.0.1_r1
          Revision 1 (Obsolete)
----------
id: 27 or "android-5"
    Type: Platform
    Desc: Android SDK Platform 2.0, revision 1
----------
id: 28 or "android-4"
    Type: Platform
    Desc: Android SDK Platform 1.6_r2
          Revision 3
----------
id: 29 or "android-3"
    Type: Platform
    Desc: Android SDK Platform 1.5_r3
          Revision 4
----------
id: 30 or "android-2"
    Type: Platform
    Desc: Android SDK Platform 1.1_r1
          Revision 1 (Obsolete)
----------
id: 31 or "sample-19"
    Type: Sample
    Desc: Samples for SDK API 19, revision 5
----------
id: 32 or "sample-18"
    Type: Sample
    Desc: Samples for SDK API 18, revision 1
----------
id: 33 or "sample-17"
    Type: Sample
    Desc: Samples for SDK API 17, revision 1
----------
id: 34 or "sample-16"
    Type: Sample
    Desc: Samples for SDK API 16, revision 1
----------
id: 35 or "sample-15"
    Type: Sample
    Desc: Samples for SDK API 15, revision 2
----------
id: 36 or "sample-14"
    Type: Sample
    Desc: Samples for SDK API 14, revision 2
----------
id: 37 or "sample-13"
    Type: Sample
    Desc: Android SDK Samples for Android API 13, revision 1
----------
id: 38 or "sample-12"
    Type: Sample
    Desc: Android SDK Samples for Android API 12, revision 1
----------
id: 39 or "sample-11"
    Type: Sample
    Desc: Android SDK Samples for Android API 11, revision 1
----------
id: 40 or "sample-10"
    Type: Sample
    Desc: Android SDK Samples for Android API 10, revision 1
----------
id: 41 or "sample-9"
    Type: Sample
    Desc: Android SDK Samples for Android API 9, revision 1
----------
id: 42 or "sample-8"
    Type: Sample
    Desc: Android SDK Samples for Android API 8, revision 1
----------
id: 43 or "sample-7"
    Type: Sample
    Desc: Android SDK Samples for Android API 7, revision 1
----------
id: 44 or "addon-google_gdk-google-19"
    Type: Addon
    Desc: Glass Development Kit Preview, Android API 19, revision 11
          By Google Inc.
          Preview of the Glass Development Kit
          Requires SDK Platform Android API 19
----------
id: 45 or "source-19"
    Type: Source
    Desc: Sources for Android SDK, API 19, revision 2
----------
id: 46 or "source-18"
    Type: Source
    Desc: Sources for Android SDK, API 18, revision 1
----------
id: 47 or "source-17"
    Type: Source
    Desc: Sources for Android SDK, API 17, revision 1
----------
id: 48 or "source-16"
    Type: Source
    Desc: Sources for Android SDK, API 16, revision 2
----------
id: 49 or "source-15"
    Type: Source
    Desc: Sources for Android SDK, API 15, revision 2
----------
id: 50 or "source-14"
    Type: Source
    Desc: Sources for Android SDK, API 14, revision 1
----------
id: 51 or "extra-android-support"
    Type: Extra
    Desc: Android Support Library, revision 19.1
          By Android
          Install path: extras/android/support

# Run (expect) '/home/numessanguis3/.buildozer/android/platform/android-sdk-20/tools/android update sdk -u -a -t build-tools-19.1.0'
# Cwd None
Picked up JAVA_TOOL_OPTIONS:  -Dfile.encoding=UTF-8
Picked up JAVA_TOOL_OPTIONS:  -Dfile.encoding=UTF-8
Picked up JAVA_TOOL_OPTIONS:  -Dfile.encoding=UTF-8
Refresh Sources:
 Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
 Validate XML
 Parse XML
 Fetched Add-ons List successfully
 Refresh Sources
 Fetching URL: https://dl-ssl.google.com/android/repository/repository-9.xml
 Validate XML: https://dl-ssl.google.com/android/repository/repository-8.xml
 Parse XML:    https://dl-ssl.google.com/android/repository/repository-8.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
 Parse XML:    https://dl-ssl.google.com/android/repository/addon-6.xml
 Fetching URL: https://dl-ssl.google.com/glass/gdk/addon.xml
 Validate XML: https://dl-ssl.google.com/glass/gdk/addon.xml
 Parse XML:    https://dl-ssl.google.com/glass/gdk/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Refresh Sources:
 Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
 Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
 Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
-------------------------------
License id: android-sdk-license-5be876d5
Used by:
- Android SDK Build-tools, revision 19.1
-------------------------------
To get started with the Android SDK, you must agree to the following terms and conditions.

This is the Android SDK License Agreement (the "License Agreement").

1. Introduction

1.1 The Android SDK (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and SDK library files and tools , if and when they are made available) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK.

1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time.

1.3 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.

2. Accepting the License Agreement

2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement.

2.2 By clicking to accept and/or using the SDK, you hereby agree to the terms of the License Agreement.

2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries including the country in which you are resident or from which you use the SDK.

2.4 If you will use the SDK internally within your company or organization you agree to be bound by the License Agreement on behalf of your employer or other entity, and you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of yoy
ur employer or other entity.

3. SDK License from Google

3.1 Subject to the terms of the License Agreement, Google grants you a royalty-free, non-assignable, non-exclusive, non-sublicensable, limited, revocable license to use the SDK, personally or internally within your company or organization, solely to develop and distribute applications to run on the Android platform.

3.2 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.

3.3 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK.

3.4 You agree that you will not take any actions that may cause or result in the fragmentation of Android, including but not limited to distributing, participating in the creation of, or promoting in any way a software development kit derived from the SDK.

3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. You agree to remain a licensee in good standing in regard to such open source software licenses under all the rights granted and to refrain from any actions that may terminate, suspend, or breach such rights.

3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you.

3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.

3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.

4. Use of the SDK by You

4.1 Google agrees that nothing in the License Agreement gives Google any right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications.

4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement, and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).

4.3 You agree that if you use the SDK to develop applications, you will protect the privacy and legal rights of users. If users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If users provide you with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, each user has given you permission to do so.

4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of Google or any third party.

4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.

4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.

5. Your Developer Credentials

5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.

6. Privacy and Information

6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected.

6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy located at http://www.google.com/policies/privacy/.

7. Third Party Applications

7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources.

7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners.

7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party.

8. Using Google APIs

8.1 Google APIs

8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service.

8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so.

9. Terminating the License Agreement

9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below.

9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials.

9.3 Google may at any time, terminate the License Agreement, with or without cause, upon notice to you.

9.4 The License Agreement will automatically terminate without notice or other action when Google ceases to provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service.

9.5 When the License Agreement is terminated, the license granted to you in the License Agreement will terminate, you will immediately cease all use of the SDK, and the provisions of paragraphs 10, 11, 12 and 14 shall survive indefinitely.

10. DISCLAIMERS

10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.

10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. WITHOUT LIMITING THE FOREGOING, YOU UNDERSTAND THAT THE SDK MAY CONTAIN ERRORS, DEFECTS AND SECURITY VULNERABILITIES THAT CAN RESULT IN SIGNIFICANT DAMAGE, INCLUDING THE COMPLETE, IRRECOVERABLE LOSS OF USE OF YOUR COMPUTER SYSTEM OR OTHER DEVICE.

10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.

11. LIMITATION OF LIABILITY

11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.

12. Indemnification

12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys’ fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any Intellectual Property Rights of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you of the License Agreement.

13. Changes to the License Agreement

13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available.

14. General Legal Terms

14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK.

14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.

14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable.

14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement.

14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE.

14.6 The License Agreement may not be assigned or transferred by you without the prior written approval of Google, and any attempted assignment without such approval will be void. You shall not delegate your responsibilities or obligations under the License Agreement without the prior written approval of Google.

14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.

June 2014.

Do you accept the license 'android-sdk-license-5be876d5' [y/n]: y

Installing Archives:
  Preparing to install archives
  Downloading Android SDK Build-tools, revision 19.1
  Installing Android SDK Build-tools, revision 19.1
    Installed Android SDK Build-tools, revision 19.199%)
  Done. 1 package installed.
# Check that aidl can be executed
# Search for Aidl
# Run '/home/numessanguis3/.buildozer/android/platform/android-sdk-20/build-tools/19.1.0/aidl'
# Cwd None
# Run '/home/numessanguis3/.buildozer/android/platform/android-sdk-20/tools/android list sdk -u -e'
# Cwd /home/numessanguis3/.buildozer/android/platform
Refresh Sources:
  Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
  Validate XML
  Parse XML
  Fetched Add-ons List successfully
  Refresh Sources
  Fetching URL: https://dl-ssl.google.com/android/repository/repository-9.xml
  Validate XML: https://dl-ssl.google.com/android/repository/repository-8.xml
  Parse XML:    https://dl-ssl.google.com/android/repository/repository-8.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
  Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
  Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
  Parse XML:    https://dl-ssl.google.com/android/repository/addon-6.xml
  Fetching URL: https://dl-ssl.google.com/glass/gdk/addon.xml
  Validate XML: https://dl-ssl.google.com/glass/gdk/addon.xml
  Parse XML:    https://dl-ssl.google.com/glass/gdk/addon.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
  Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Refresh Sources:
  Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
  Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
  Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Refresh Sources:
  Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
  Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
  Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Packages available for installation or update: 31
----------
id: 1 or "tools"
     Type: Tool
     Desc: Android SDK Tools, revision 24.0.2
----------
id: 2 or "platform-tools"
     Type: PlatformTool
     Desc: Android SDK Platform-tools, revision 20
----------
id: 3 or "doc-19"
     Type: Doc
     Desc: Documentation for Android SDK, API 19, revision 2
----------
id: 4 or "android-19"
     Type: Platform
     Desc: Android SDK Platform 4.4.2
           Revision 3
----------
id: 5 or "android-18"
     Type: Platform
     Desc: Android SDK Platform 4.3
           Revision 2
----------
id: 6 or "android-17"
     Type: Platform
     Desc: Android SDK Platform 4.2.2
           Revision 2
----------
id: 7 or "android-16"
     Type: Platform
     Desc: Android SDK Platform 4.1.2
           Revision 4
----------
id: 8 or "android-15"
     Type: Platform
     Desc: Android SDK Platform 4.0.3
           Revision 3
----------
id: 9 or "android-14"
     Type: Platform
     Desc: Android SDK Platform 4.0
           Revision 3
----------
id: 10 or "android-13"
     Type: Platform
     Desc: Android SDK Platform 3.2, revision 1
----------
id: 11 or "android-12"
     Type: Platform
     Desc: Android SDK Platform 3.1, revision 3
----------
id: 12 or "android-11"
     Type: Platform
     Desc: Android SDK Platform 3.0, revision 2
----------
id: 13 or "android-10"
     Type: Platform
     Desc: Android SDK Platform 2.3.3._r2
           Revision 2
----------
id: 14 or "android-8"
     Type: Platform
     Desc: Android SDK Platform 2.2_r3
           Revision 3
----------
id: 15 or "android-7"
     Type: Platform
     Desc: Android SDK Platform 2.1_r3
           Revision 3
----------
id: 16 or "android-4"
     Type: Platform
     Desc: Android SDK Platform 1.6_r2
           Revision 3
----------
id: 17 or "android-3"
     Type: Platform
     Desc: Android SDK Platform 1.5_r3
           Revision 4
----------
id: 18 or "sample-19"
     Type: Sample
     Desc: Samples for SDK API 19, revision 5
----------
id: 19 or "sample-18"
     Type: Sample
     Desc: Samples for SDK API 18, revision 1
----------
id: 20 or "sample-17"
     Type: Sample
     Desc: Samples for SDK API 17, revision 1
----------
id: 21 or "sample-16"
     Type: Sample
     Desc: Samples for SDK API 16, revision 1
----------
id: 22 or "sample-15"
     Type: Sample
     Desc: Samples for SDK API 15, revision 2
----------
id: 23 or "sample-14"
     Type: Sample
     Desc: Samples for SDK API 14, revision 2
----------
id: 24 or "sample-13"
     Type: Sample
     Desc: Android SDK Samples for Android API 13, revision 1
----------
id: 25 or "sample-12"
     Type: Sample
     Desc: Android SDK Samples for Android API 12, revision 1
----------
id: 26 or "sample-11"
     Type: Sample
     Desc: Android SDK Samples for Android API 11, revision 1
----------
id: 27 or "sample-10"
     Type: Sample
     Desc: Android SDK Samples for Android API 10, revision 1
----------
id: 28 or "sample-8"
     Type: Sample
     Desc: Android SDK Samples for Android API 8, revision 1
----------
id: 29 or "sample-7"
     Type: Sample
     Desc: Android SDK Samples for Android API 7, revision 1
----------
id: 30 or "addon-google_gdk-google-19"
     Type: Addon
     Desc: Glass Development Kit Preview, Android API 19, revision 11
           By Google Inc.
           Preview of the Glass Development Kit
           Requires SDK Platform Android API 19
----------
id: 31 or "extra-android-support"
     Type: Extra
     Desc: Android Support Library, revision 19.1
           By Android
           Install path: extras/android/support
Refresh Sources:
  Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
  Validate XML
  Parse XML
  Fetched Add-ons List successfully
  Refresh Sources
  Fetching URL: https://dl-ssl.google.com/android/repository/repository-9.xml
  Validate XML: https://dl-ssl.google.com/android/repository/repository-8.xml
  Parse XML:    https://dl-ssl.google.com/android/repository/repository-8.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
  Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
  Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
  Parse XML:    https://dl-ssl.google.com/android/repository/addon-6.xml
  Fetching URL: https://dl-ssl.google.com/glass/gdk/addon.xml
  Validate XML: https://dl-ssl.google.com/glass/gdk/addon.xml
  Parse XML:    https://dl-ssl.google.com/glass/gdk/addon.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
  Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Refresh Sources:
  Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
  Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
  Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Refresh Sources:
  Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
  Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
  Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
  Validate XML: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Packages available for installation or update: 31
----------
id: 1 or "tools"
     Type: Tool
     Desc: Android SDK Tools, revision 24.0.2
----------
id: 2 or "platform-tools"
     Type: PlatformTool
     Desc: Android SDK Platform-tools, revision 20
----------
id: 3 or "doc-19"
     Type: Doc
     Desc: Documentation for Android SDK, API 19, revision 2
----------
id: 4 or "android-19"
     Type: Platform
     Desc: Android SDK Platform 4.4.2
           Revision 3
----------
id: 5 or "android-18"
     Type: Platform
     Desc: Android SDK Platform 4.3
           Revision 2
----------
id: 6 or "android-17"
     Type: Platform
     Desc: Android SDK Platform 4.2.2
           Revision 2
----------
id: 7 or "android-16"
     Type: Platform
     Desc: Android SDK Platform 4.1.2
           Revision 4
----------
id: 8 or "android-15"
     Type: Platform
     Desc: Android SDK Platform 4.0.3
           Revision 3
----------
id: 9 or "android-14"
     Type: Platform
     Desc: Android SDK Platform 4.0
           Revision 3
----------
id: 10 or "android-13"
     Type: Platform
     Desc: Android SDK Platform 3.2, revision 1
----------
id: 11 or "android-12"
     Type: Platform
     Desc: Android SDK Platform 3.1, revision 3
----------
id: 12 or "android-11"
     Type: Platform
     Desc: Android SDK Platform 3.0, revision 2
----------
id: 13 or "android-10"
     Type: Platform
     Desc: Android SDK Platform 2.3.3._r2
           Revision 2
----------
id: 14 or "android-8"
     Type: Platform
     Desc: Android SDK Platform 2.2_r3
           Revision 3
----------
id: 15 or "android-7"
     Type: Platform
     Desc: Android SDK Platform 2.1_r3
           Revision 3
----------
id: 16 or "android-4"
     Type: Platform
     Desc: Android SDK Platform 1.6_r2
           Revision 3
----------
id: 17 or "android-3"
     Type: Platform
     Desc: Android SDK Platform 1.5_r3
           Revision 4
----------
id: 18 or "sample-19"
     Type: Sample
     Desc: Samples for SDK API 19, revision 5
----------
id: 19 or "sample-18"
     Type: Sample
     Desc: Samples for SDK API 18, revision 1
----------
id: 20 or "sample-17"
     Type: Sample
     Desc: Samples for SDK API 17, revision 1
----------
id: 21 or "sample-16"
     Type: Sample
     Desc: Samples for SDK API 16, revision 1
----------
id: 22 or "sample-15"
     Type: Sample
     Desc: Samples for SDK API 15, revision 2
----------
id: 23 or "sample-14"
     Type: Sample
     Desc: Samples for SDK API 14, revision 2
----------
id: 24 or "sample-13"
     Type: Sample
     Desc: Android SDK Samples for Android API 13, revision 1
----------
id: 25 or "sample-12"
     Type: Sample
     Desc: Android SDK Samples for Android API 12, revision 1
----------
id: 26 or "sample-11"
     Type: Sample
     Desc: Android SDK Samples for Android API 11, revision 1
----------
id: 27 or "sample-10"
     Type: Sample
     Desc: Android SDK Samples for Android API 10, revision 1
----------
id: 28 or "sample-8"
     Type: Sample
     Desc: Android SDK Samples for Android API 8, revision 1
----------
id: 29 or "sample-7"
     Type: Sample
     Desc: Android SDK Samples for Android API 7, revision 1
----------
id: 30 or "addon-google_gdk-google-19"
     Type: Addon
     Desc: Glass Development Kit Preview, Android API 19, revision 11
           By Google Inc.
           Preview of the Glass Development Kit
           Requires SDK Platform Android API 19
----------
id: 31 or "extra-android-support"
     Type: Extra
     Desc: Android Support Library, revision 19.1
           By Android
           Install path: extras/android/support

# Android packages installation done.
# Read available permissions from api-versions.xml
# Check application requirements
# Run './distribute.sh -l'
# Cwd /home/numessanguis3/bitbucket/kanjiorigin/KanjiOrigin/.buildozer/android/platform/python-for-android
Available modules: android apsw audiostream bidi boost cherrypy c_igraph click cprotobuf cymunk django docutils ecdsa enum34 evdev ffmpeg ffmpeg2 ffpyplayer ffpyplayer_tito flask freetype gevent greenlet harfbuzz hostpython igraph itsdangerous jinja2 jpeg kivent_core kivent_cymunk kivy leveldb libevent libpq libsodium libswift libtorrent libxml2 libxslt libyaml lxml m2crypto markupsafe midistream msgpack mysql_connector netifaces numpy opencv openssl paramiko pil plyer plyvel png polygon protobuf psutil psycopg2 pyasn1 pycrypto pygame pyjnius pylibpd pyopenssl pyparsing pyqrcode python pyyaml sdl setuptools six sqlalchemy sqlite3 storm swift thrift twisted txws werkzeug wokkel zeroconf zope
# Remove directory and subdirectory /home/numessanguis3/bitbucket/kanjiorigin/KanjiOrigin/.buildozer/applibs
# Create directory /home/numessanguis3/bitbucket/kanjiorigin/KanjiOrigin/.buildozer/applibs
# Check garden requirements
# Compile platform
# Run './distribute.sh -l'
# Cwd /home/numessanguis3/bitbucket/kanjiorigin/KanjiOrigin/.buildozer/android/platform/python-for-android
Available modules: android apsw audiostream bidi boost cherrypy c_igraph click cprotobuf cymunk django docutils ecdsa enum34 evdev ffmpeg ffmpeg2 ffpyplayer ffpyplayer_tito flask freetype gevent greenlet harfbuzz hostpython igraph itsdangerous jinja2 jpeg kivent_core kivent_cymunk kivy leveldb libevent libpq libsodium libswift libtorrent libxml2 libxslt libyaml lxml m2crypto markupsafe midistream msgpack mysql_connector netifaces numpy opencv openssl paramiko pil plyer plyvel png polygon protobuf psutil psycopg2 pyasn1 pycrypto pygame pyjnius pylibpd pyopenssl pyparsing pyqrcode python pyyaml sdl setuptools six sqlalchemy sqlite3 storm swift thrift twisted txws werkzeug wokkel zeroconf zope
# Clean and build python-for-android
# Run './distribute.sh -m "kivy==master sqlite3 docutils" -d "KanjiOriginPackage"'
# Cwd /home/numessanguis3/bitbucket/kanjiorigin/KanjiOrigin/.buildozer/android/platform/python-for-android
Check build dependencies for Ubuntu
Check environment
SDK located at /home/numessanguis3/.buildozer/android/platform/android-sdk-20
NDK located at /home/numessanguis3/.buildozer/android/platform/android-ndk-r9c
NDK version is r9c
API level set to 19 # 14
./distribute.sh: line 346: [: too many arguments
Check NDK location
Invalid NDK platform
Looking in /home/numessanguis3/.buildozer/android/platform/android-ndk-r9c/platforms/android-19 # 14/arch-arm
Using ANDROIDNDK=/home/numessanguis3/.buildozer/android/platform/android-ndk-r9c and ANDROIDAPI=19 # 14
# Command failed: ./distribute.sh -m "kivy==master sqlite3 docutils" -d "KanjiOriginPackage"
#
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2
numessanguis3@ubuntu:~/bitbucket/kanjiorigin/KanjiOrigin$
NumesSanguis commented 8 years ago

It seems that changing these values in the buildozer.spec file without deleting the .buildozer folder doesn't work properly:

(int) Android API to use

android.api = 19 # 14

(int) Minimum API required

android.minapi = 9 # 8

(int) Android SDK version to use

android.sdk = 20

(str) Android NDK version to use

android.ndk = 9c

Changing these values, then deleting .buildozer and then again buildozer android debug seems to work.

NFSpeedy commented 5 years ago

sudo vim /usr/local/lib/python3.6/dist-packages/buildozer-0.38.dev0-py3.6.egg/buildozer/targets/android.py

Line: 316

change repository to ndk and it will download