kivy / buildozer

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

Gradle Problem with docker image #1375

Closed andreock closed 11 months ago

andreock commented 2 years ago

Versions

Description

Hi, i configured the github action to build apk automatically but always fail with gradle error, on my pc all work if I install openjdk 13, with other version don't work, maybe is this the problem? Also CircleCI give this error.

buildozer.spec

Command:

buildozer android debug

Spec file:

##############################################################################
# about buildozer.spec : https://buildozer.readthedocs.io/en/latest/specifications.html
##############################################################################

[app]

# (str) Title of your application
title = gtt

# (str) Package name
package.name = gtt

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

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

# (list) List of inclusions using pattern matching
source.include_patterns = data/*.png, sound/*.ogg

# (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 = tests, bin

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

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

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

# (list) Application requirements
# comma separated e.g. requirements = sqlite3,kivy
requirements = python3,requests,chardet,charset-normalizer,idna,kivy==2.0.0,kivymd==0.104.2,pillow,urllib3,openssl,sdl2_ttf==2.0.15

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

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

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

#
# OSX Specific
#

#
# author = © Copyright Info

# change the major version of python used by the app
osx.python_version = 3

# Kivy version to use
osx.kivy_version = 1.10.1

#
# Android specific
#

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

# (string) Presplash background color (for new android toolchain)
# Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
# red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
# darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
# olive, purple, silver, teal.
#android.presplash_color = #FFFFFF

# (list) Permissions
android.permissions = INTERNET

android.accept_sdk_license = True
# (int) Android API to use
# see https://developer.android.com/distribute/best-practices/develop/target-sdk
android.api = 30

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

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

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

# (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 = ~/Desktop/crystax-ndk-10.3.2

# (str) Android SDK directory (if empty, it will be automatically downloaded.)
#android.sdk_path = ~/Desktop/platform-tools

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

# (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) Android entry point, default is ok for Kivy-based app
#android.entrypoint = org.renpy.android.PythonActivity

# (list) Pattern to whitelist for the whole project
#android.whitelist =

# (str) Path to a custom whitelist file
#android.whitelist_src =

# (str) Path to a custom blacklist file
#android.blacklist_src =

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

# (list) Android AAR archives to add (currently works only with sdl2_gradle
# bootstrap)
#android.add_aars =

# (list) Gradle dependencies to add (currently works only with sdl2_gradle
# bootstrap)
#android.gradle_dependencies =

# (list) Java classes to add as activities to the manifest.
#android.add_activites = com.example.ExampleActivity

# (str) python-for-android branch to use, defaults to stable
#p4a.branch = stable

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

# (str) launchMode to set for the main activity
#android.manifest.launch_mode = standard

# (list) Android additional 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 =

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

# (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86
android.arch = armeabi-v7a

#
# Python for android (p4a) specific
#

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

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

# (str) Filename to the hook for p4a
#p4a.hook =

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

# (int) port number to specify an explicit --port= p4a argument (eg for bootstrap flask)
#p4a.port =

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

Logs

Welcome to Gradle 6.4.1!

Here are the highlights of this release:
 - Support for building, testing and running Java Modules
 - Precompiled script plugins for Groovy DSL
 - Single dependency lock file per project

For more details see https://docs.gradle.org/6.4.1/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'gtt__armeabi-v7a'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.50.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.lint:lint-gradle-api:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:gradle-api:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > androidx.databinding:databinding-compiler-common:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdk-common:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:common:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools.build:manifest-merger:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools.analytics-library:tracker:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdklib:26.5.2 > com.android.tools:repository:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdk-common:26.5.2 > com.android.tools.analytics-library:shared:26.5.2
      > Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.50.
         > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.50/kotlin-stdlib-jdk8-1.3.50.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.50/kotlin-stdlib-jdk8-1.3.50.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.ow2.asm:asm:6.0.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta04
      > Could not resolve org.ow2.asm:asm:6.0.
         > Could not get resource 'https://jcenter.bintray.com/org/ow2/asm/asm/6.0/asm-6.0.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/ow2/asm/asm/6.0/asm-6.0.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.ow2.asm:asm-analysis:6.0.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2
      > Could not resolve org.ow2.asm:asm-analysis:6.0.
         > Could not get resource 'https://jcenter.bintray.com/org/ow2/asm/asm-analysis/6.0/asm-analysis-6.0.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/ow2/asm/asm-analysis/6.0/asm-analysis-6.0.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.ow2.asm:asm-commons:6.0.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta04
      > Could not resolve org.ow2.asm:asm-commons:6.0.
         > Could not get resource 'https://jcenter.bintray.com/org/ow2/asm/asm-commons/6.0/asm-commons-6.0.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/ow2/asm/asm-commons/6.0/asm-commons-6.0.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.ow2.asm:asm-util:6.0.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta04
      > Could not resolve org.ow2.asm:asm-util:6.0.
         > Could not get resource 'https://jcenter.bintray.com/org/ow2/asm/asm-util/6.0/asm-util-6.0.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/ow2/asm/asm-util/6.0/asm-util-6.0.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve net.sf.jopt-simple:jopt-simple:4.9.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2
      > Could not resolve net.sf.jopt-simple:jopt-simple:4.9.
         > Could not get resource 'https://jcenter.bintray.com/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.pom'.
            > Could not GET 'https://jcenter.bintray.com/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve net.sf.proguard:proguard-gradle:6.0.3.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2
      > Could not resolve net.sf.proguard:proguard-gradle:6.0.3.
         > Could not get resource 'https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/6.0.3/proguard-gradle-6.0.3.pom'.
            > Could not GET 'https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/6.0.3/proguard-gradle-6.0.3.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve com.google.protobuf:protobuf-java:3.4.0.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:bundletool:0.9.0
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdk-common:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools.analytics-library:protos:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools.analytics-library:tracker:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:bundletool:0.9.0 > com.android.tools.build:aapt2-proto:0.4.0
      > Could not resolve com.google.protobuf:protobuf-java:3.4.0.
         > Could not get resource 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.4.0/protobuf-java-3.4.0.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.4.0/protobuf-java-3.4.0.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve com.google.protobuf:protobuf-java-util:3.4.0.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:bundletool:0.9.0
      > Could not resolve com.google.protobuf:protobuf-java-util:3.4.0.
         > Could not get resource 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java-util/3.4.0/protobuf-java-util-3.4.0.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/google/protobuf/protobuf-java-util/3.4.0/protobuf-java-util-3.4.0.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve com.squareup:javawriter:2.5.0.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2
      > Could not resolve com.squareup:javawriter:2.5.0.
         > Could not get resource 'https://jcenter.bintray.com/com/squareup/javawriter/2.5.0/javawriter-2.5.0.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/squareup/javawriter/2.5.0/javawriter-2.5.0.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.bouncycastle:bcpkix-jdk15on:1.56.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdk-common:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools.build:apkzlib:3.5.2
      > Could not resolve org.bouncycastle:bcpkix-jdk15on:1.56.
         > Could not get resource 'https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.56/bcpkix-jdk15on-1.56.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.56/bcpkix-jdk15on-1.56.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.bouncycastle:bcprov-jdk15on:1.56.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdk-common:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools.build:apkzlib:3.5.2
      > Could not resolve org.bouncycastle:bcprov-jdk15on:1.56.
         > Could not get resource 'https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.56/bcprov-jdk15on-1.56.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.56/bcprov-jdk15on-1.56.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.ow2.asm:asm-tree:6.0.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2
      > Could not resolve org.ow2.asm:asm-tree:6.0.
         > Could not get resource 'https://jcenter.bintray.com/org/ow2/asm/asm-tree/6.0/asm-tree-6.0.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/ow2/asm/asm-tree/6.0/asm-tree-6.0.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve javax.inject:javax.inject:1.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdk-common:26.5.2
      > Could not resolve javax.inject:javax.inject:1.
         > Could not get resource 'https://jcenter.bintray.com/javax/inject/javax.inject/1/javax.inject-1.pom'.
            > Could not GET 'https://jcenter.bintray.com/javax/inject/javax.inject/1/javax.inject-1.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve it.unimi.dsi:fastutil:7.2.0.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2
      > Could not resolve it.unimi.dsi:fastutil:7.2.0.
         > Could not get resource 'https://jcenter.bintray.com/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.pom'.
            > Could not GET 'https://jcenter.bintray.com/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve com.googlecode.json-simple:json-simple:1.1.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2
      > Could not resolve com.googlecode.json-simple:json-simple:1.1.
         > Could not get resource 'https://jcenter.bintray.com/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve com.google.guava:guava:27.0.1-jre.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.analytics-library:crash:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.lint:lint-gradle-api:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:gradle-api:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > androidx.databinding:databinding-compiler-common:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:bundletool:0.9.0
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:common:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools.analytics-library:tracker:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdk-common:26.5.2 > com.android.tools.analytics-library:shared:26.5.2
      > Could not resolve com.google.guava:guava:27.0.1-jre.
         > Could not get resource 'https://jcenter.bintray.com/com/google/guava/guava/27.0.1-jre/guava-27.0.1-jre.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/google/guava/guava/27.0.1-jre/guava-27.0.1-jre.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.apache.httpcomponents:httpmime:4.5.6.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.analytics-library:crash:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdklib:26.5.2
      > Could not resolve org.apache.httpcomponents:httpmime:4.5.6.
         > Could not get resource 'https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.5.6/httpmime-4.5.6.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.5.6/httpmime-4.5.6.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.apache.httpcomponents:httpcore:4.4.10.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.analytics-library:crash:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdklib:26.5.2
      > Could not resolve org.apache.httpcomponents:httpcore:4.4.10.
         > Could not get resource 'https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.4.10/httpcore-4.4.10.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.4.10/httpcore-4.4.10.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.apache.httpcomponents:httpclient:4.5.6.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.analytics-library:crash:26.5.2
      > Could not resolve org.apache.httpcomponents:httpclient:4.5.6.
         > Could not get resource 'https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.5.6/httpclient-4.5.6.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.5.6/httpclient-4.5.6.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.jetbrains.kotlin:kotlin-reflect:1.3.50.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.lint:lint-gradle-api:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdk-common:26.5.2
      > Could not resolve org.jetbrains.kotlin:kotlin-reflect:1.3.50.
         > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.3.50/kotlin-reflect-1.3.50.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.3.50/kotlin-reflect-1.3.50.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.antlr:antlr4:4.5.3.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > androidx.databinding:databinding-compiler-common:3.5.2
      > Could not resolve org.antlr:antlr4:4.5.3.
         > Could not get resource 'https://jcenter.bintray.com/org/antlr/antlr4/4.5.3/antlr4-4.5.3.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/antlr/antlr4/4.5.3/antlr4-4.5.3.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve commons-io:commons-io:2.4.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > androidx.databinding:databinding-compiler-common:3.5.2
      > Could not resolve commons-io:commons-io:2.4.
         > Could not get resource 'https://jcenter.bintray.com/commons-io/commons-io/2.4/commons-io-2.4.pom'.
            > Could not GET 'https://jcenter.bintray.com/commons-io/commons-io/2.4/commons-io-2.4.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve com.googlecode.juniversalchardet:juniversalchardet:1.0.3.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > androidx.databinding:databinding-compiler-common:3.5.2
      > Could not resolve com.googlecode.juniversalchardet:juniversalchardet:1.0.3.
         > Could not get resource 'https://jcenter.bintray.com/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve com.squareup:javapoet:1.8.0.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > androidx.databinding:databinding-compiler-common:3.5.2
      > Could not resolve com.squareup:javapoet:1.8.0.
         > Could not get resource 'https://jcenter.bintray.com/com/squareup/javapoet/1.8.0/javapoet-1.8.0.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/squareup/javapoet/1.8.0/javapoet-1.8.0.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve com.google.code.gson:gson:2.8.5.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > androidx.databinding:databinding-compiler-common:3.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdklib:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools.build:manifest-merger:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdk-common:26.5.2 > com.android.tools.analytics-library:shared:26.5.2
      > Could not resolve com.google.code.gson:gson:2.8.5.
         > Could not get resource 'https://jcenter.bintray.com/com/google/code/gson/gson/2.8.5/gson-2.8.5.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/google/code/gson/gson/2.8.5/gson-2.8.5.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve com.google.auto.value:auto-value:1.5.2.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:bundletool:0.9.0
      > Could not resolve com.google.auto.value:auto-value:1.5.2.
         > Could not get resource 'https://jcenter.bintray.com/com/google/auto/value/auto-value/1.5.2/auto-value-1.5.2.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/google/auto/value/auto-value/1.5.2/auto-value-1.5.2.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve com.google.errorprone:error_prone_annotations:2.3.1.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:bundletool:0.9.0
      > Could not resolve com.google.errorprone:error_prone_annotations:2.3.1.
         > Could not get resource 'https://jcenter.bintray.com/com/google/errorprone/error_prone_annotations/2.3.1/error_prone_annotations-2.3.1.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/google/errorprone/error_prone_annotations/2.3.1/error_prone_annotations-2.3.1.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve com.google.code.gson:gson:2.8.5.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build.jetifier:jetifier-core:1.0.0-beta04
      > Could not resolve com.google.code.gson:gson:2.8.5.
         > Could not get resource 'https://jcenter.bintray.com/com/google/code/gson/gson/2.8.5/gson-2.8.5.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/google/code/gson/gson/2.8.5/gson-2.8.5.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.3.0.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build.jetifier:jetifier-core:1.0.0-beta04
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta04
      > Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.3.0.
         > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.3.0/kotlin-stdlib-1.3.0.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.3.0/kotlin-stdlib-1.3.0.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.jdom:jdom2:2.0.6.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta04
      > Could not resolve org.jdom:jdom2:2.0.6.
         > Could not get resource 'https://jcenter.bintray.com/org/jdom/jdom2/2.0.6/jdom2-2.0.6.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/jdom/jdom2/2.0.6/jdom2-2.0.6.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.apache.commons:commons-compress:1.12.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdklib:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdklib:26.5.2 > com.android.tools:repository:26.5.2
      > Could not resolve org.apache.commons:commons-compress:1.12.
         > Could not get resource 'https://jcenter.bintray.com/org/apache/commons/commons-compress/1.12/commons-compress-1.12.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/apache/commons/commons-compress/1.12/commons-compress-1.12.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.jetbrains.trove4j:trove4j:20160824.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdk-common:26.5.2
      > Could not resolve org.jetbrains.trove4j:trove4j:20160824.
         > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve net.sf.kxml:kxml2:2.3.0.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools.build:manifest-merger:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools.ddms:ddmlib:26.5.2
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdklib:26.5.2 > com.android.tools.layoutlib:layoutlib-api:26.5.2
      > Could not resolve net.sf.kxml:kxml2:2.3.0.
         > Could not get resource 'https://jcenter.bintray.com/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.pom'.
            > Could not GET 'https://jcenter.bintray.com/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve com.google.code.findbugs:jsr305:1.3.9.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools.build:apkzlib:3.5.2
      > Could not resolve com.google.code.findbugs:jsr305:1.3.9.
         > Could not get resource 'https://jcenter.bintray.com/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve com.google.guava:guava:27.0.1-jre.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools.build:apkzlib:3.5.2
      > Could not resolve com.google.guava:guava:27.0.1-jre.
         > Could not get resource 'https://jcenter.bintray.com/com/google/guava/guava/27.0.1-jre/guava-27.0.1-jre.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/google/guava/guava/27.0.1-jre/guava-27.0.1-jre.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.jetbrains:annotations:13.0.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdklib:26.5.2 > com.android.tools.layoutlib:layoutlib-api:26.5.2
      > Could not resolve org.jetbrains:annotations:13.0.
         > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/annotations/13.0/annotations-13.0.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/jetbrains/annotations/13.0/annotations-13.0.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve com.sun.activation:javax.activation:1.2.0.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdklib:26.5.2 > com.android.tools:repository:26.5.2
      > Could not resolve com.sun.activation:javax.activation:1.2.0.
         > Could not get resource 'https://jcenter.bintray.com/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve org.glassfish.jaxb:jaxb-runtime:2.2.11.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdklib:26.5.2 > com.android.tools:repository:26.5.2
      > Could not resolve org.glassfish.jaxb:jaxb-runtime:2.2.11.
         > Could not get resource 'https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.pom'.
            > Could not GET 'https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
   > Could not resolve com.google.jimfs:jimfs:1.1.
     Required by:
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdklib:26.5.2 > com.android.tools:repository:26.5.2
      > Could not resolve com.google.jimfs:jimfs:1.1.
         > Could not get resource 'https://jcenter.bintray.com/com/google/jimfs/jimfs/1.1/jimfs-1.1.pom'.
            > Could not GET 'https://jcenter.bintray.com/com/google/jimfs/jimfs/1.1/jimfs-1.1.pom'.
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 10s

  STDERR:

[INFO]:    STDOUT (last 20 lines of 353):
         Required by:   
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdklib:26.5.2 > com.android.tools:repository:26.5.2   
      > Could not resolve org.glassfish.jaxb:jaxb-runtime:2.2.11.   
         > Could not get resource 'https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.pom'. 
            > Could not GET 'https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.pom'.   
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed  
   > Could not resolve com.google.jimfs:jimfs:1.1.  
     Required by:   
         project : > com.android.tools.build:gradle:3.5.2 > com.android.tools.build:builder:3.5.2 > com.android.tools:sdklib:26.5.2 > com.android.tools:repository:26.5.2   
      > Could not resolve com.google.jimfs:jimfs:1.1.   
         > Could not get resource 'https://jcenter.bintray.com/com/google/jimfs/jimfs/1.1/jimfs-1.1.pom'.   
            > Could not GET 'https://jcenter.bintray.com/com/google/jimfs/jimfs/1.1/jimfs-1.1.pom'. 
               > PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed  

* Try:  
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.    

* Get more help at https://help.gradle.org  

BUILD FAILED in 10s
[INFO]:    STDERR:

[INFO]:    ENV:
export ACTIONS_RUNTIME_TOKEN='***'
export ACTIONS_CACHE_URL='https://artifactcache.actions.githubusercontent.com/9qgnrGLCgjdH9x7h7OYUyTieVzcx1OU0s5k3WOdadkolPGdjAQ/'
export USER='user'
export LANGUAGE='en_US.UTF-8'
export CI='true'
export HOSTNAME='cc5141d7bc58'
export GITHUB_ENV='/github/file_commands/set_env_be8c4413-22e8-4039-9f3d-e76f7caf9cdf'
export WORK_DIR='/home/user/hostcwd'
export HOME='/home/user'
export SRC_DIR='/home/user/src'
export GITHUB_EVENT_PATH='/github/workflow/event.json'
export RUNNER_TEMP='/home/runner/work/_temp'
export GITHUB_REPOSITORY_OWNER='Andrea055'
export PYTHONUNBUFFERED='1'
export GITHUB_RETENTION_DAYS='90'
export GITHUB_HEAD_REF=''
export ANDROIDMINAPI='21'
export GITHUB_GRAPHQL_URL='https://api.github.com/graphql'
export HOME_DIR='/home/user'
export BUILDOZER_WARN_ON_ROOT='0'
export ACTIONS_RUNTIME_URL='https://pipelines.actions.githubusercontent.com/9qgnrGLCgjdH9x7h7OYUyTieVzcx1OU0s5k3WOdadkolPGdjAQ/'
export RUNNER_OS='Linux'
export GITHUB_API_URL='https://api.github.com'
export GITHUB_WORKFLOW='Build'
export APP_ANDROID_ACCEPT_SDK_LICENSE='1'
export ANDROIDAPI='30'
export GITHUB_RUN_ID='1439353331'
export GITHUB_REF_TYPE='branch'
export GITHUB_BASE_REF=''
export ANDROIDNDK='/github/workspace/./.buildozer_global/android/platform/android-ndk-r19c'
export GITHUB_ACTION_REPOSITORY='ArtemSBulgakov/buildozer-action'
export PATH='/github/workspace/.buildozer_global/android/platform/android-ndk-r19c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86/bin/:/github/workspace/.buildozer_global/android/platform/android-ndk-r19c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/:/github/workspace/.buildozer_global/android/platform/android-ndk-r19c:/github/workspace/.buildozer_global/android/platform/android-sdk/tools:/github/workspace/./.buildozer_global/android/platform/apache-ant-1.9.4/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
export RUNNER_TOOL_CACHE='/opt/hostedtoolcache'
export GITHUB_RUN_NUMBER='29'
export RUNNER_ARCH='X64'
export GITHUB_ACTION='buildozer'
export LANG='en_US.UTF-8'
export ANDROIDSDK='/github/workspace/./.buildozer_global/android/platform/android-sdk'
export GITHUB_REPOSITORY='Andrea055/gtt-mobile-app'
export GITHUB_REF_NAME='master'
export INPUT_WORKDIR='.'
export RUNNER_NAME='Hosted Agent'
export GITHUB_ACTION_REF='v1'
export GITHUB_ACTIONS='true'
export GITHUB_REF_PROTECTED='false'
export BUILDOZER_BIN='./bin'
export PACKAGES_PATH='/github/workspace/./.buildozer_global/android/packages'
export GITHUB_WORKSPACE='/github/workspace'
export GITHUB_JOB='build-android'
export INPUT_COMMAND='buildozer android debug'
export BUILDOZER_BUILD_DIR='./.buildozer'
export GITHUB_RUN_ATTEMPT='1'
export GITHUB_SHA='0f8a3954e2bae8b74dc8c1b39db6621db56feca3'
export GITHUB_REF='refs/heads/master'
export GITHUB_ACTOR='Andrea055'
export INPUT_BUILDOZER_VERSION='stable'
export RUNNER_WORKSPACE='/home/runner/work/gtt-mobile-app'
export GITHUB_PATH='/github/file_commands/add_path_be8c4413-22e8-4039-9f3d-e76f7caf9cdf'
export LC_ALL='en_US.UTF-8'
export PWD='/github/workspace/.buildozer/android/platform/python-for-android'
export GITHUB_SERVER_URL='https://github.com'
export GITHUB_EVENT_NAME='push'
export INPUT_REPOSITORY_ROOT='.'
export ANDROID_NDK_HOME='/github/workspace/.buildozer_global/android/platform/android-ndk-r19c'
export ANDROID_HOME='/github/workspace/.buildozer_global/android/platform/android-sdk'

[INFO]:    COMMAND:
cd /github/workspace/.buildozer/android/platform/build-armeabi-v7a/dists/gtt__armeabi-v7a && /github/workspace/.buildozer/android/platform/build-armeabi-v7a/dists/gtt__armeabi-v7a/gradlew assembleDebug

[WARNING]: ERROR: /github/workspace/.buildozer/android/platform/build-armeabi-v7a/dists/gtt__armeabi-v7a/gradlew failed!
Traceback (most recent call last):
  File "/action/entrypoint.py", line 159, in <module>
    main()
  File "/action/entrypoint.py", line 27, in main
    run_command(env["INPUT_COMMAND"])
  File "/action/entrypoint.py", line 135, in run_command
    retcode = subprocess.check_call(command, shell=True)
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'buildozer android debug' returned non-zero exit status 1.
github-actions[bot] commented 11 months ago

👋 @andreock, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project. Let us know if this comment was made in error, and we'll be happy to reopen the issue.