Buildozer KIVY - google play services error

373 views
Skip to first unread message

Ish Rash

unread,
Oct 30, 2017, 4:26:39 PM10/30/17
to Kivy users support
**[gettarget] Project Target:   Android 4.4.2
[gettarget] API level:        19
     [echo] ----------
     [echo] Creating output directories if needed...
     [echo] ----------
     [echo] Resolving Dependencies for UltimatePong-0.1...
[dependency] Library dependencies:
[dependency] 
[dependency] ------------------
[dependency] Ordered libraries:
[dependency] 
[dependency] ------------------
     [echo] ----------
     [echo] Building Libraries with 'debug'...
BUILD FAILED
/home/kivy/.buildozer/android/platform/android-sdk-20/tools/ant/build.xml:601: Invalid file: /home/kivy/Desktop/pong/google-play-services_lib/build.xml**



I'm new to kivy and and this my first app, I have spent more than 48 hours trying to figure this out, but I can't so please help me. Thank you

ZenCODE

unread,
Oct 31, 2017, 1:41:36 AM10/31/17
to kivy-...@googlegroups.com
Please post your buildozer.spec file. It looks like your are not listing any dependencies. Ensure you have at least

    requirements = kivy

in that file.


 

Ish Rash

unread,
Oct 31, 2017, 9:21:57 AM10/31/17
to kivy-...@googlegroups.com
You can find my full log here

Buildozer.spec:

[app]


# (str) Title of your application
title
= UltimatePong


# (str) Package name
package.name = ultimatepong


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


# (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,mp3, wav, zip, 3gp, TTF


# (list) List of inclusions using pattern matching
#source.include_patterns = assets/*,images/*.png


# (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 = redball


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


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


# (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, plyer


# (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/presplash.png


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


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


# (list) List of service to declare
#services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY


#
# OSX Specific
#


#
# author = irba


#
# Android specific
#


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


# (list) Permissions
android
.permissions = VIBRATE, INTERNET


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


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


# (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 =


# (str) The directory in which python-for-android should look for your own build recipes (if any)
#p4a.local_recipes =


# (list) python-for-android whitelist
#android.p4a_whitelist =


# (bool) If True, then skip trying to update the Android sdk
# This can be useful to avoid excess Internet downloads or save time
# when an update is due and you just want to test/build your package
# android.skip_update = False


# (str) Bootstrap to use for android builds (android_new only)
# android.bootstrap = sdl2


# (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 = com.google.android.gms.version=@integer/google_play_services_version


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




# (str) Android logcat filters to use
#android.logcat_filters = *:S python:D


# (bool) Copy library instead of making a libpymodules.so
#android.copy_libs = 1


#
# iOS specific
#


# (str) Path to a custom kivy-ios folder
#ios.kivy_ios_dir = ../kivy-ios


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


# (str) Path to build artifact storage, absolute or relative to spec file
# build_dir = ./.buildozer


# (str) Path to build output (i.e. .apk, .ipa) storage
# bin_dir = ./bin


#    -----------------------------------------------------------------------------
#    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


Thank you

ZenCODE

unread,
Oct 31, 2017, 9:32:48 AM10/31/17
to Kivy users support
The first error seems to be that you are missing ant. Try again after:

    pip install ant

Ish Rash

unread,
Oct 31, 2017, 10:46:04 AM10/31/17
to kivy-...@googlegroups.com
I got the same error after doing "sudo pip install ant"

ZenCODE

unread,
Oct 31, 2017, 1:01:34 PM10/31/17
to Kivy users support
Did ant install? If it did, you can't be getting the same error. I know it's frustrating and probably not all understood, but understanding and information are key ingredients here. "It still does not work" does not mean we have not made progress. There are many stages that need work before you get a working Android APK, and Kivy is in control of only a few of those steps. So, what is your error now? It can't be the same if ant installed....

Thanks

Ish Rash

unread,
Oct 31, 2017, 2:23:52 PM10/31/17
to Kivy users support
I did as you said, I even deleted and reinstalled buildozer but still got the same error:



assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-tvdpi/ic_plusone_medium_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-tvdpi/ic_plusone_tall_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-tvdpi/ic_plusone_standard_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-tvdpi/ic_plusone_small_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_normal_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_disabled_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/powered_by_google_dark.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_focus_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_disabled_focus_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_disabled_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_disabled_focus_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_normal_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_disabled_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_disabled_focus_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/ic_plusone_medium_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_normal_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/ic_plusone_tall_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/ic_plusone_standard_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_pressed_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_pressed_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_focus_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_focus_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_disabled_focus_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_focus_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/powered_by_google_light.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_normal_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_disabled_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_icon_pressed_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/ic_plusone_small_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xxhdpi/common_signin_btn_text_pressed_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_ic_googleplayservices.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_normal_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_disabled_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/powered_by_google_dark.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_focus_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_disabled_focus_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_disabled_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_disabled_focus_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_normal_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_disabled_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_disabled_focus_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/ic_plusone_medium_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_normal_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/ic_plusone_tall_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/ic_plusone_standard_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_pressed_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_pressed_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_focus_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_focus_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_disabled_focus_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_focus_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/powered_by_google_light.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_normal_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_full_open_on_phone.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_disabled_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_icon_pressed_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/ic_plusone_small_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-hdpi/common_signin_btn_text_pressed_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_normal_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_disabled_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/powered_by_google_dark.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_focus_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_disabled_focus_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_disabled_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_disabled_focus_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_normal_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_disabled_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_disabled_focus_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/ic_plusone_medium_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_normal_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/ic_plusone_tall_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/ic_plusone_standard_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_pressed_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_pressed_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_focus_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_focus_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_disabled_focus_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_focus_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/powered_by_google_light.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_normal_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_disabled_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_icon_pressed_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/ic_plusone_small_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-mdpi/common_signin_btn_text_pressed_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_normal_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_disabled_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/powered_by_google_dark.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_focus_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_disabled_focus_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_disabled_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_disabled_focus_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_normal_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_disabled_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_disabled_focus_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/ic_plusone_medium_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_normal_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/ic_plusone_tall_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/ic_plBuildfile: /home/kivy/Desktop/pong/.buildozer/android/platform/python-for-android/dist/ultimatepong/build.xml


-set-mode-check:


-set-debug-files:


-check-env:
 
[checkenv] Android SDK Tools Revision 24.0.2
 
[checkenv] Installed at /home/kivy/.buildozer/android/platform/android-sdk-20


-setup:
     
[echo] Project Name: UltimatePong-0.1
 
[gettype] Project Type: Application


-set-debug-mode:


-debug-obfuscation-check:


-pre-build:


-build-setup:
[getbuildtools] Using latest Build Tools: 23.0.1
     
[echo] Resolving Build Target for UltimatePong-0.1...

[gettarget] Project Target:   Android 4.4.2
[gettarget] API level:        19
     
[echo] ----------
     
[echo] Creating output directories if needed...
     
[echo] ----------
     
[echo] Resolving Dependencies for UltimatePong-0.1...
[dependency] Library dependencies:
[dependency]
[dependency] ------------------
[dependency] Ordered libraries:
[dependency]
[dependency] ------------------
     
[echo] ----------
     
[echo] Building Libraries with 'debug'...


BUILD FAILED
/home/kivy/.buildozer/android/platform/android-sdk-20/tools/ant/build.xml:601: Invalid file: /home/kivy/Desktop/pong/google-play-services_lib/build.xml


Total time: 2 seconds
usone_standard_off_client
.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_pressed_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_pressed_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_focus_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_focus_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_disabled_focus_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_focus_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/powered_by_google_light.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_normal_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_disabled_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_icon_pressed_dark.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/ic_plusone_small_off_client.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/google-play-services_lib/res/drawable-xhdpi/common_signin_btn_text_pressed_light.9.png
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/admob/admobmock.pyo
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/admob/admob4android.pyo
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/admob/__init__.pyo
assets
/private.mp3: /home/kivy/Desktop/pong/.buildozer/android/app/admob/admob4ios.pyo
Traceback (most recent call last):
 
File "build.py", line 517, in <module>
    make_package
(args)
 
File "build.py", line 365, in make_package
    subprocess
.check_call([ANT, arg])
 
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
   
raise CalledProcessError(retcode, cmd)
subprocess
.CalledProcessError: Command '['ant', 'debug']' returned non-zero exit status 1
# Command failed: python build.py --name UltimatePong --version 0.1 --package intellign.ultimatepong --sdk 19 --minsdk 9 --private /home/kivy/Desktop/pong/.buildozer/android/app --permission VIBRATE --permission INTERNET --permission ACCESS_NETWORK_STATE --meta-data com.google.android.gms.version=@integer/google_play_services_version --presplash /home/kivy/Desktop/pong/./presplash.png --icon /home/kivy/Desktop/pong/./appicon.png --orientation landscape debug
#
# 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


Ish Rash

unread,
Oct 31, 2017, 3:52:55 PM10/31/17
to Kivy users support
I think the error is because I don't have a build.xml file in my google play services folders. 
I tried running 
android update project --path .

and 
 android update lib-project --target 19 --path .

but i got this error:

android:command not found error.


sac

unread,
Nov 13, 2017, 10:19:03 PM11/13/17
to Kivy users support
Well i think i have seen this ant error, may be you could try below, hope it might help you..Good luck :)

1. Either you should place play services in /libs folder of your project or remove below from buildozer.spec and the ant error should disappear.

android.meta_data = com.google.android.gms.version=@integer/google_play_services_version 
android.library_references =google-play-services_lib

2. If you have *.jar inside google-play-services_lib, then i guess you should find for .aar i guess in Android studio with new installs.
3. Also you may look for project.properties i believe under .buildozer folder path which is trying to find the path of play services which you have mentioned "android.library_references =google-play-services_lib".
Reply all
Reply to author
Forward
0 new messages