kivy / buildozer

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

Buildozer fails to build when ffmpeg is added #418

Closed TomSavas closed 5 years ago

TomSavas commented 7 years ago

Everything builds fine till I add ffmpeg, to the requirements, because VideoPlayer doesn't play video on Android without it (or so have I read, please inform if I'm mistaken). When I add ffmpeg the buildozer fails to run a command:

python -m pythonforandroid.toolchain --color=always --storage-dir=/home/savas/Documents/Programming/Python/MobileTest/Crawler/.buildozer/android/platform/build create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy,ffmpeg,requests,js2py,enum,sqlite3 --arch armeabi-v7a --copy-libs

By the way I use buildozer android_new debug to compile an apk file.

Here is a full output of buildozer:

# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Install platform
# Apache ANT found at /home/savas/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /home/savas/.buildozer/android/platform/android-sdk-20
# Android NDK found at /home/savas/.buildozer/android/platform/android-ndk-r9c
Refresh Sources:
  Fetching https://dl.google.com/android/repository/addons_list-2.xml
  Validate XML
  Parse XML
  Fetched Add-ons List successfully
  Refresh Sources
  Fetching URL: https://dl.google.com/android/repository/repository-11.xml
  Validate XML: https://dl.google.com/android/repository/repository-11.xml
  Parse XML:    https://dl.google.com/android/repository/repository-11.xml
  Fetching URL: https://dl.google.com/android/repository/addon.xml
  Validate XML: https://dl.google.com/android/repository/addon.xml
  Parse XML:    https://dl.google.com/android/repository/addon.xml
  Fetching URL: https://dl.google.com/android/repository/glass/addon.xml
  Validate XML: https://dl.google.com/android/repository/glass/addon.xml
  Parse XML:    https://dl.google.com/android/repository/glass/addon.xml
  Fetching URL: https://dl.google.com/android/repository/extras/intel/addon.xml
  Validate XML: https://dl.google.com/android/repository/extras/intel/addon.xml
  Parse XML:    https://dl.google.com/android/repository/extras/intel/addon.xml
  Fetching URL: https://dl.google.com/android/repository/sys-img/android/sys-img.xml
  Validate XML: https://dl.google.com/android/repository/sys-img/android/sys-img.xml
  Parse XML:    https://dl.google.com/android/repository/sys-img/android/sys-img.xml
  Fetching URL: https://dl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Validate XML: https://dl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Parse XML:    https://dl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Fetching URL: https://dl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Validate XML: https://dl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Parse XML:    https://dl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Fetching URL: https://dl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Validate XML: https://dl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Parse XML:    https://dl.google.com/android/repository/sys-img/google_apis/sys-img.xml
Packages available for installation or update: 31
----------
id: 1 or "doc-24"
     Type: Doc
     Desc: Documentation for Android SDK, API 24, revision 1
----------
id: 2 or "android-25"
     Type: Platform
     Desc: Android SDK Platform 25
           Revision 1
----------
id: 3 or "android-24"
     Type: Platform
     Desc: Android SDK Platform 24
           Revision 2
----------
id: 4 or "android-23"
     Type: Platform
     Desc: Android SDK Platform 23
           Revision 3
----------
id: 5 or "android-22"
     Type: Platform
     Desc: Android SDK Platform 22
           Revision 2
----------
id: 6 or "android-21"
     Type: Platform
     Desc: Android SDK Platform 21
           Revision 2
----------
id: 7 or "android-20"
     Type: Platform
     Desc: Android SDK Platform 20
           Revision 2
----------
id: 8 or "android-19"
     Type: Platform
     Desc: Android SDK Platform 19
           Revision 4
----------
id: 9 or "android-18"
     Type: Platform
     Desc: Android SDK Platform 18
           Revision 3
----------
id: 10 or "android-17"
     Type: Platform
     Desc: Android SDK Platform 17
           Revision 3
----------
id: 11 or "android-16"
     Type: Platform
     Desc: Android SDK Platform 16
           Revision 5
----------
id: 12 or "android-15"
     Type: Platform
     Desc: Android SDK Platform 15
           Revision 5
----------
id: 13 or "addon-google_apis-google-24"
     Type: Addon
     Desc: Google APIs, Android API 24, revision 1
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 24
----------
id: 14 or "addon-google_apis-google-23"
     Type: Addon
     Desc: Google APIs, Android API 23, revision 1
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 23
----------
id: 15 or "addon-google_apis-google-22"
     Type: Addon
     Desc: Google APIs, Android API 22, revision 1
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 22
----------
id: 16 or "addon-google_apis-google-21"
     Type: Addon
     Desc: Google APIs, Android API 21, revision 1
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 21
----------
id: 17 or "addon-google_apis-google-19"
     Type: Addon
     Desc: Google APIs, Android API 19, revision 20
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 19
----------
id: 18 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: 19 or "addon-google_apis-google-18"
     Type: Addon
     Desc: Google APIs, Android API 18, revision 4
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 18
----------
id: 20 or "addon-google_apis-google-17"
     Type: Addon
     Desc: Google APIs, Android API 17, revision 4
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 17
----------
id: 21 or "addon-google_apis-google-16"
     Type: Addon
     Desc: Google APIs, Android API 16, revision 4
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 16
----------
id: 22 or "addon-google_apis-google-15"
     Type: Addon
     Desc: Google APIs, Android API 15, revision 3
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 15
----------
id: 23 or "extra-android-m2repository"
     Type: Extra
     Desc: Android Support Repository, revision 39
           By Android
           Local Maven repository for Support Libraries
           Install path: extras/android/m2repository
----------
id: 24 or "extra-google-auto"
     Type: Extra
     Desc: Android Auto Desktop Head Unit emulator, revision 1.1
           By Google Inc.
           Head unit emulator for developers targeting the Android Auto
           platform.
           Install path: extras/google/auto
----------
id: 25 or "extra-google-google_play_services"
     Type: Extra
     Desc: Google Play services, revision 37
           By Google Inc.
           Google Play services Javadocs and sample code
           Install path: extras/google/google_play_services
----------
id: 26 or "extra-google-m2repository"
     Type: Extra
     Desc: Google Repository, revision 38
           By Google Inc.
           Local Maven repository for Support Libraries
           Install path: extras/google/m2repository
----------
id: 27 or "extra-google-market_apk_expansion"
     Type: Extra
     Desc: Google Play APK Expansion library, revision 1
           By Google Inc.
           Android Market APK Expansion library
           Install path: extras/google/market_apk_expansion
----------
id: 28 or "extra-google-market_licensing"
     Type: Extra
     Desc: Google Play Licensing Library, revision 1
           By google
           Android Market Licensing client library
           Install path: extras/google/market_licensing
----------
id: 29 or "extra-google-play_billing"
     Type: Extra
     Desc: Google Play Billing Library, revision 5
           By Google Inc.
           Google Play Billing files and sample code
           Install path: extras/google/play_billing
----------
id: 30 or "extra-google-simulators"
     Type: Extra
     Desc: Android Auto API Simulators, revision 1
           By Google Inc.
           Android Auto API testing simulators
           Install path: extras/google/simulators
----------
id: 31 or "extra-google-webdriver"
     Type: Extra
     Desc: Google Web Driver, revision 2
           By Google Inc.
           Install path: extras/google/webdriver

Refresh Sources:
  Fetching https://dl.google.com/android/repository/addons_list-2.xml
  Validate XML
  Parse XML
  Fetched Add-ons List successfully
  Refresh Sources
  Fetching URL: https://dl.google.com/android/repository/repository-11.xml
  Validate XML: https://dl.google.com/android/repository/repository-11.xml
  Parse XML:    https://dl.google.com/android/repository/repository-11.xml
  Fetching URL: https://dl.google.com/android/repository/addon.xml
  Validate XML: https://dl.google.com/android/repository/addon.xml
  Parse XML:    https://dl.google.com/android/repository/addon.xml
  Fetching URL: https://dl.google.com/android/repository/glass/addon.xml
  Validate XML: https://dl.google.com/android/repository/glass/addon.xml
  Parse XML:    https://dl.google.com/android/repository/glass/addon.xml
  Fetching URL: https://dl.google.com/android/repository/extras/intel/addon.xml
  Validate XML: https://dl.google.com/android/repository/extras/intel/addon.xml
  Parse XML:    https://dl.google.com/android/repository/extras/intel/addon.xml
  Fetching URL: https://dl.google.com/android/repository/sys-img/android/sys-img.xml
  Validate XML: https://dl.google.com/android/repository/sys-img/android/sys-img.xml
  Parse XML:    https://dl.google.com/android/repository/sys-img/android/sys-img.xml
  Fetching URL: https://dl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Validate XML: https://dl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Parse XML:    https://dl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Fetching URL: https://dl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Validate XML: https://dl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Parse XML:    https://dl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Fetching URL: https://dl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Validate XML: https://dl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Parse XML:    https://dl.google.com/android/repository/sys-img/google_apis/sys-img.xml
Packages available for installation or update: 176
----------
id: 1 or "tools"
     Type: Tool
     Desc: Android SDK Tools, revision 25.2.2
----------
id: 2 or "platform-tools"
     Type: PlatformTool
     Desc: Android SDK Platform-tools, revision 25
----------
id: 3 or "build-tools-25.0.0"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 25
----------
id: 4 or "build-tools-24.0.3"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 24.0.3
----------
id: 5 or "build-tools-24.0.2"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 24.0.2
----------
id: 6 or "build-tools-24.0.1"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 24.0.1
----------
id: 7 or "build-tools-24.0.0"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 24
----------
id: 8 or "build-tools-23.0.3"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 23.0.3
----------
id: 9 or "build-tools-23.0.2"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 23.0.2
----------
id: 10 or "build-tools-23.0.1"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 23.0.1
----------
id: 11 or "build-tools-23.0.0"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 23 (Obsolete)
----------
id: 12 or "build-tools-22.0.1"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 22.0.1
----------
id: 13 or "build-tools-22.0.0"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 22 (Obsolete)
----------
id: 14 or "build-tools-21.1.2"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 21.1.2
----------
id: 15 or "build-tools-21.1.1"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 21.1.1 (Obsolete)
----------
id: 16 or "build-tools-21.1.0"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 21.1 (Obsolete)
----------
id: 17 or "build-tools-21.0.2"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 21.0.2 (Obsolete)
----------
id: 18 or "build-tools-21.0.1"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 21.0.1 (Obsolete)
----------
id: 19 or "build-tools-21.0.0"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 21 (Obsolete)
----------
id: 20 or "build-tools-20.0.0"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 20
----------
id: 21 or "build-tools-19.1.0"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 19.1
----------
id: 22 or "build-tools-19.0.3"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 19.0.3 (Obsolete)
----------
id: 23 or "build-tools-19.0.2"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 19.0.2 (Obsolete)
----------
id: 24 or "build-tools-19.0.1"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 19.0.1 (Obsolete)
----------
id: 25 or "build-tools-19.0.0"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 19 (Obsolete)
----------
id: 26 or "build-tools-18.1.1"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 18.1.1 (Obsolete)
----------
id: 27 or "build-tools-18.1.0"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 18.1 (Obsolete)
----------
id: 28 or "build-tools-18.0.1"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 18.0.1 (Obsolete)
----------
id: 29 or "build-tools-17.0.0"
     Type: BuildTool
     Desc: Android SDK Build-tools, revision 17 (Obsolete)
----------
id: 30 or "doc-24"
     Type: Doc
     Desc: Documentation for Android SDK, API 24, revision 1
----------
id: 31 or "android-25"
     Type: Platform
     Desc: Android SDK Platform 25
           Revision 1
----------
id: 32 or "android-24"
     Type: Platform
     Desc: Android SDK Platform 24
           Revision 2
----------
id: 33 or "android-23"
     Type: Platform
     Desc: Android SDK Platform 23
           Revision 3
----------
id: 34 or "android-22"
     Type: Platform
     Desc: Android SDK Platform 22
           Revision 2
----------
id: 35 or "android-21"
     Type: Platform
     Desc: Android SDK Platform 21
           Revision 2
----------
id: 36 or "android-20"
     Type: Platform
     Desc: Android SDK Platform 20
           Revision 2
----------
id: 37 or "android-19"
     Type: Platform
     Desc: Android SDK Platform 19
           Revision 4
----------
id: 38 or "android-18"
     Type: Platform
     Desc: Android SDK Platform 18
           Revision 3
----------
id: 39 or "android-17"
     Type: Platform
     Desc: Android SDK Platform 17
           Revision 3
----------
id: 40 or "android-16"
     Type: Platform
     Desc: Android SDK Platform 16
           Revision 5
----------
id: 41 or "android-15"
     Type: Platform
     Desc: Android SDK Platform 15
           Revision 5
----------
id: 42 or "android-14"
     Type: Platform
     Desc: Android SDK Platform 14
           Revision 4
----------
id: 43 or "android-13"
     Type: Platform
     Desc: Android SDK Platform 13
           Revision 1
----------
id: 44 or "android-12"
     Type: Platform
     Desc: Android SDK Platform 12
           Revision 3
----------
id: 45 or "android-11"
     Type: Platform
     Desc: Android SDK Platform 11
           Revision 2
----------
id: 46 or "android-10"
     Type: Platform
     Desc: Android SDK Platform 10
           Revision 2
----------
id: 47 or "android-9"
     Type: Platform
     Desc: Android SDK Platform 9
           Revision 2
----------
id: 48 or "android-8"
     Type: Platform
     Desc: Android SDK Platform 8
           Revision 3
----------
id: 49 or "android-7"
     Type: Platform
     Desc: Android SDK Platform 7
           Revision 3
----------
id: 50 or "android-6"
     Type: Platform
     Desc: Android SDK Platform 6
           Revision 1 (Obsolete)
----------
id: 51 or "android-5"
     Type: Platform
     Desc: Android SDK Platform 5
           Revision 1 (Obsolete)
----------
id: 52 or "android-4"
     Type: Platform
     Desc: Android SDK Platform 4
           Revision 3 (Obsolete)
----------
id: 53 or "android-3"
     Type: Platform
     Desc: Android SDK Platform 3
           Revision 4 (Obsolete)
----------
id: 54 or "android-2"
     Type: Platform
     Desc: Android SDK Platform 2
           Revision 1 (Obsolete)
----------
id: 55 or "sys-img-x86-android-tv-25"
     Type: SystemImage
     Desc: Android TV Intel x86 Atom System Image
           Revision 1
           Requires SDK Platform Android API 25
----------
id: 56 or "sys-img-x86_64-google_apis-25"
     Type: SystemImage
     Desc: Google APIs Intel x86 Atom_64 System Image
           Revision 2
           Requires SDK Platform Android API 25
----------
id: 57 or "sys-img-x86-google_apis-25"
     Type: SystemImage
     Desc: Google APIs Intel x86 Atom System Image
           Revision 2
           Requires SDK Platform Android API 25
----------
id: 58 or "sys-img-x86-android-tv-24"
     Type: SystemImage
     Desc: Android TV Intel x86 Atom System Image
           Revision 7
           Requires SDK Platform Android API 24
----------
id: 59 or "sys-img-armeabi-v7a-android-wear-24"
     Type: SystemImage
     Desc: Android Wear ARM EABI v7a System Image
           Revision 2
           Requires SDK Platform Android API 24
----------
id: 60 or "sys-img-x86-android-wear-24"
     Type: SystemImage
     Desc: Android Wear Intel x86 Atom System Image
           Revision 2
           Requires SDK Platform Android API 24
----------
id: 61 or "sys-img-arm64-v8a-android-24"
     Type: SystemImage
     Desc: ARM 64 v8a System Image
           Revision 7
           Requires SDK Platform Android API 24
----------
id: 62 or "sys-img-armeabi-v7a-android-24"
     Type: SystemImage
     Desc: ARM EABI v7a System Image
           Revision 7
           Requires SDK Platform Android API 24
----------
id: 63 or "sys-img-x86_64-android-24"
     Type: SystemImage
     Desc: Intel x86 Atom_64 System Image
           Revision 7
           Requires SDK Platform Android API 24
----------
id: 64 or "sys-img-x86-android-24"
     Type: SystemImage
     Desc: Intel x86 Atom System Image
           Revision 7
           Requires SDK Platform Android API 24
----------
id: 65 or "sys-img-arm64-v8a-google_apis-24"
     Type: SystemImage
     Desc: Google APIs ARM 64 v8a System Image
           Revision 8
           Requires SDK Platform Android API 24
----------
id: 66 or "sys-img-armeabi-v7a-google_apis-24"
     Type: SystemImage
     Desc: Google APIs ARM EABI v7a System Image
           Revision 8
           Requires SDK Platform Android API 24
----------
id: 67 or "sys-img-x86_64-google_apis-24"
     Type: SystemImage
     Desc: Google APIs Intel x86 Atom_64 System Image
           Revision 8
           Requires SDK Platform Android API 24
----------
id: 68 or "sys-img-x86-google_apis-24"
     Type: SystemImage
     Desc: Google APIs Intel x86 Atom System Image
           Revision 8
           Requires SDK Platform Android API 24
----------
id: 69 or "sys-img-armeabi-v7a-android-tv-23"
     Type: SystemImage
     Desc: Android TV ARM EABI v7a System Image
           Revision 3
           Requires SDK Platform Android API 23
----------
id: 70 or "sys-img-x86-android-tv-23"
     Type: SystemImage
     Desc: Android TV Intel x86 Atom System Image
           Revision 6
           Requires SDK Platform Android API 23
----------
id: 71 or "sys-img-armeabi-v7a-android-wear-23"
     Type: SystemImage
     Desc: Android Wear ARM EABI v7a System Image
           Revision 6
           Requires SDK Platform Android API 23
----------
id: 72 or "sys-img-x86-android-wear-23"
     Type: SystemImage
     Desc: Android Wear Intel x86 Atom System Image
           Revision 6
           Requires SDK Platform Android API 23
----------
id: 73 or "sys-img-armeabi-v7a-android-23"
     Type: SystemImage
     Desc: ARM EABI v7a System Image
           Revision 3
           Requires SDK Platform Android API 23
----------
id: 74 or "sys-img-x86_64-android-23"
     Type: SystemImage
     Desc: Intel x86 Atom_64 System Image
           Revision 9
           Requires SDK Platform Android API 23
----------
id: 75 or "sys-img-x86-android-23"
     Type: SystemImage
     Desc: Intel x86 Atom System Image
           Revision 9
           Requires SDK Platform Android API 23
----------
id: 76 or "sys-img-armeabi-v7a-google_apis-23"
     Type: SystemImage
     Desc: Google APIs ARM EABI v7a System Image
           Revision 17
           Requires SDK Platform Android API 23
----------
id: 77 or "sys-img-x86_64-google_apis-23"
     Type: SystemImage
     Desc: Google APIs Intel x86 Atom_64 System Image
           Revision 17
           Requires SDK Platform Android API 23
----------
id: 78 or "sys-img-x86-google_apis-23"
     Type: SystemImage
     Desc: Google APIs Intel x86 Atom System Image
           Revision 17
           Requires SDK Platform Android API 23
----------
id: 79 or "sys-img-armeabi-v7a-android-tv-22"
     Type: SystemImage
     Desc: Android TV ARM EABI v7a System Image
           Revision 1
           Requires SDK Platform Android API 22
----------
id: 80 or "sys-img-x86-android-tv-22"
     Type: SystemImage
     Desc: Android TV Intel x86 Atom System Image
           Revision 3
           Requires SDK Platform Android API 22
----------
id: 81 or "sys-img-armeabi-v7a-android-wear-22"
     Type: SystemImage
     Desc: Android Wear ARM EABI v7a System Image
           Revision 7
           Requires SDK Platform Android API 22
----------
id: 82 or "sys-img-x86-android-wear-22"
     Type: SystemImage
     Desc: Android Wear Intel x86 Atom System Image
           Revision 7
           Requires SDK Platform Android API 22
----------
id: 83 or "sys-img-armeabi-v7a-android-22"
     Type: SystemImage
     Desc: ARM EABI v7a System Image
           Revision 1
           Requires SDK Platform Android API 22
----------
id: 84 or "sys-img-x86_64-android-22"
     Type: SystemImage
     Desc: Intel x86 Atom_64 System Image
           Revision 5
           Requires SDK Platform Android API 22
----------
id: 85 or "sys-img-x86-android-22"
     Type: SystemImage
     Desc: Intel x86 Atom System Image
           Revision 5
           Requires SDK Platform Android API 22
----------
id: 86 or "sys-img-armeabi-v7a-google_apis-22"
     Type: SystemImage
     Desc: Google APIs ARM EABI v7a System Image
           Revision 10
           Requires SDK Platform Android API 22
----------
id: 87 or "sys-img-x86_64-google_apis-22"
     Type: SystemImage
     Desc: Google APIs Intel x86 Atom_64 System Image
           Revision 10
           Requires SDK Platform Android API 22
----------
id: 88 or "sys-img-x86-google_apis-22"
     Type: SystemImage
     Desc: Google APIs Intel x86 Atom System Image
           Revision 10
           Requires SDK Platform Android API 22
----------
id: 89 or "sys-img-armeabi-v7a-android-tv-21"
     Type: SystemImage
     Desc: Android TV ARM EABI v7a System Image
           Revision 3
           Requires SDK Platform Android API 21
----------
id: 90 or "sys-img-x86-android-tv-21"
     Type: SystemImage
     Desc: Android TV Intel x86 Atom System Image
           Revision 3
           Requires SDK Platform Android API 21
----------
id: 91 or "sys-img-armeabi-v7a-android-wear-21"
     Type: SystemImage
     Desc: Android Wear ARM EABI v7a System Image
           Revision 3
           Requires SDK Platform Android API 21
----------
id: 92 or "sys-img-x86-android-wear-21"
     Type: SystemImage
     Desc: Android Wear Intel x86 Atom System Image
           Revision 3
           Requires SDK Platform Android API 21
----------
id: 93 or "sys-img-armeabi-v7a-android-21"
     Type: SystemImage
     Desc: ARM EABI v7a System Image
           Revision 3
           Requires SDK Platform Android API 21
----------
id: 94 or "sys-img-x86_64-android-21"
     Type: SystemImage
     Desc: Intel x86 Atom_64 System Image
           Revision 4
           Requires SDK Platform Android API 21
----------
id: 95 or "sys-img-x86-android-21"
     Type: SystemImage
     Desc: Intel x86 Atom System Image
           Revision 4
           Requires SDK Platform Android API 21
----------
id: 96 or "sys-img-armeabi-v7a-google_apis-21"
     Type: SystemImage
     Desc: Google APIs ARM EABI v7a System Image
           Revision 16
           Requires SDK Platform Android API 21
----------
id: 97 or "sys-img-x86_64-google_apis-21"
     Type: SystemImage
     Desc: Google APIs Intel x86 Atom_64 System Image
           Revision 16
           Requires SDK Platform Android API 21
----------
id: 98 or "sys-img-x86-google_apis-21"
     Type: SystemImage
     Desc: Google APIs Intel x86 Atom System Image
           Revision 16
           Requires SDK Platform Android API 21
----------
id: 99 or "sys-img-armeabi-v7a-android-wear-20"
     Type: SystemImage
     Desc: Android Wear ARM EABI v7a System Image
           Revision 4
           Requires SDK Platform Android API 20
----------
id: 100 or "sys-img-x86-android-wear-20"
     Type: SystemImage
     Desc: Android Wear Intel x86 Atom System Image
           Revision 4
           Requires SDK Platform Android API 20
----------
id: 101 or "sys-img-armeabi-v7a-android-19"
     Type: SystemImage
     Desc: ARM EABI v7a System Image
           Revision 3
           Requires SDK Platform Android API 19
----------
id: 102 or "sys-img-x86-android-19"
     Type: SystemImage
     Desc: Intel x86 Atom System Image
           Revision 5
           Requires SDK Platform Android API 19
----------
id: 103 or "sys-img-armeabi-v7a-google_apis-19"
     Type: SystemImage
     Desc: Google APIs ARM EABI v7a System Image
           Revision 24
           Requires SDK Platform Android API 19
----------
id: 104 or "sys-img-x86-google_apis-19"
     Type: SystemImage
     Desc: Google APIs Intel x86 Atom System Image
           Revision 24
           Requires SDK Platform Android API 19
----------
id: 105 or "sys-img-armeabi-v7a-android-18"
     Type: SystemImage
     Desc: ARM EABI v7a System Image
           Revision 3
           Requires SDK Platform Android API 18
----------
id: 106 or "sys-img-x86-android-18"
     Type: SystemImage
     Desc: Intel x86 Atom System Image
           Revision 2
           Requires SDK Platform Android API 18
----------
id: 107 or "sys-img-armeabi-v7a-google_apis-18"
     Type: SystemImage
     Desc: Google APIs ARM EABI v7a System Image
           Revision 5
           Requires SDK Platform Android API 18
----------
id: 108 or "sys-img-x86-google_apis-18"
     Type: SystemImage
     Desc: Google APIs Intel x86 Atom System Image
           Revision 5
           Requires SDK Platform Android API 18
----------
id: 109 or "sys-img-armeabi-v7a-android-17"
     Type: SystemImage
     Desc: ARM EABI v7a System Image
           Revision 3
           Requires SDK Platform Android API 17
----------
id: 110 or "sys-img-x86-android-17"
     Type: SystemImage
     Desc: Intel x86 Atom System Image
           Revision 2
           Requires SDK Platform Android API 17
----------
id: 111 or "sys-img-mips-android-17"
     Type: SystemImage
     Desc: MIPS System Image
           Revision 1
           Requires SDK Platform Android API 17
----------
id: 112 or "sys-img-armeabi-v7a-google_apis-17"
     Type: SystemImage
     Desc: Google APIs ARM EABI v7a System Image
           Revision 5
           Requires SDK Platform Android API 17
----------
id: 113 or "sys-img-x86-google_apis-17"
     Type: SystemImage
     Desc: Google APIs Intel x86 Atom System Image
           Revision 5
           Requires SDK Platform Android API 17
----------
id: 114 or "sys-img-armeabi-v7a-android-16"
     Type: SystemImage
     Desc: ARM EABI v7a System Image
           Revision 4
           Requires SDK Platform Android API 16
----------
id: 115 or "sys-img-x86-android-16"
     Type: SystemImage
     Desc: Intel x86 Atom System Image
           Revision 2
           Requires SDK Platform Android API 16
----------
id: 116 or "sys-img-mips-android-16"
     Type: SystemImage
     Desc: MIPS System Image
           Revision 1
           Requires SDK Platform Android API 16
----------
id: 117 or "sys-img-armeabi-v7a-google_apis-16"
     Type: SystemImage
     Desc: Google APIs ARM EABI v7a System Image
           Revision 5
           Requires SDK Platform Android API 16
----------
id: 118 or "sys-img-x86-google_apis-16"
     Type: SystemImage
     Desc: Google APIs Intel x86 Atom System Image
           Revision 5
           Requires SDK Platform Android API 16
----------
id: 119 or "sys-img-armeabi-v7a-android-15"
     Type: SystemImage
     Desc: ARM EABI v7a System Image
           Revision 3
           Requires SDK Platform Android API 15
----------
id: 120 or "sys-img-x86-android-15"
     Type: SystemImage
     Desc: Intel x86 Atom System Image
           Revision 2
           Requires SDK Platform Android API 15
----------
id: 121 or "sys-img-mips-android-15"
     Type: SystemImage
     Desc: MIPS System Image
           Revision 1
           Requires SDK Platform Android API 15
----------
id: 122 or "sys-img-armeabi-v7a-google_apis-15"
     Type: SystemImage
     Desc: Google APIs ARM EABI v7a System Image
           Revision 5
           Requires SDK Platform Android API 15
----------
id: 123 or "sys-img-x86-google_apis-15"
     Type: SystemImage
     Desc: Google APIs Intel x86 Atom System Image
           Revision 5
           Requires SDK Platform Android API 15
----------
id: 124 or "sys-img-armeabi-v7a-android-14"
     Type: SystemImage
     Desc: ARM EABI v7a System Image
           Revision 2
           Requires SDK Platform Android API 14
----------
id: 125 or "sys-img-x86-android-10"
     Type: SystemImage
     Desc: Intel x86 Atom System Image
           Revision 3
           Requires SDK Platform Android API 10
----------
id: 126 or "sys-img-armeabi-v7a-google_apis-10"
     Type: SystemImage
     Desc: Google APIs ARM EABI v7a System Image
           Revision 5
           Requires SDK Platform Android API 10
----------
id: 127 or "sys-img-x86-google_apis-10"
     Type: SystemImage
     Desc: Google APIs Intel x86 Atom System Image
           Revision 5
           Requires SDK Platform Android API 10
----------
id: 128 or "addon-google_apis-google-24"
     Type: Addon
     Desc: Google APIs, Android API 24, revision 1
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 24
----------
id: 129 or "addon-google_apis-google-23"
     Type: Addon
     Desc: Google APIs, Android API 23, revision 1
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 23
----------
id: 130 or "addon-google_apis-google-22"
     Type: Addon
     Desc: Google APIs, Android API 22, revision 1
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 22
----------
id: 131 or "addon-google_apis-google-21"
     Type: Addon
     Desc: Google APIs, Android API 21, revision 1
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 21
----------
id: 132 or "addon-google_apis-google-19"
     Type: Addon
     Desc: Google APIs, Android API 19, revision 20
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 19
----------
id: 133 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: 134 or "addon-google_apis-google-18"
     Type: Addon
     Desc: Google APIs, Android API 18, revision 4
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 18
----------
id: 135 or "addon-google_apis-google-17"
     Type: Addon
     Desc: Google APIs, Android API 17, revision 4
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 17
----------
id: 136 or "addon-google_apis-google-16"
     Type: Addon
     Desc: Google APIs, Android API 16, revision 4
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 16
----------
id: 137 or "addon-google_apis-google-15"
     Type: Addon
     Desc: Google APIs, Android API 15, revision 3
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 15
----------
id: 138 or "addon-google_apis-google-14"
     Type: Addon
     Desc: Google APIs, Android API 14, revision 2 (Obsolete)
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 14
----------
id: 139 or "addon-google_apis-google-13"
     Type: Addon
     Desc: Google APIs, Android API 13, revision 1 (Obsolete)
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 13
----------
id: 140 or "addon-google_tv_addon-google-13"
     Type: Addon
     Desc: Google TV Addon, Android API 13, revision 1 (Obsolete)
           By Google Inc.
           Requires SDK Platform Android API 13
----------
id: 141 or "addon-google_apis-google-12"
     Type: Addon
     Desc: Google APIs, Android API 12, revision 1 (Obsolete)
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 12
----------
id: 142 or "addon-google_tv_addon-google-12"
     Type: Addon
     Desc: Google TV Addon, Android API 12, revision 2 (Obsolete)
           By Google Inc.
           Requires SDK Platform Android API 12
----------
id: 143 or "addon-google_apis-google-11"
     Type: Addon
     Desc: Google APIs, Android API 11, revision 1 (Obsolete)
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 11
----------
id: 144 or "addon-google_apis-google-10"
     Type: Addon
     Desc: Google APIs, Android API 10, revision 2 (Obsolete)
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 10
----------
id: 145 or "addon-google_apis-google-9"
     Type: Addon
     Desc: Google APIs, Android API 9, revision 2 (Obsolete)
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 9
----------
id: 146 or "addon-google_apis-google-8"
     Type: Addon
     Desc: Google APIs, Android API 8, revision 2 (Obsolete)
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 8
----------
id: 147 or "addon-google_apis-google-7"
     Type: Addon
     Desc: Google APIs, Android API 7, revision 1 (Obsolete)
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 7
----------
id: 148 or "addon-google_apis-google-6"
     Type: Addon
     Desc: Google APIs, Android API 6, revision 1 (Obsolete)
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 6
----------
id: 149 or "addon-google_apis-google-5"
     Type: Addon
     Desc: Google APIs, Android API 5, revision 1 (Obsolete)
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 5
----------
id: 150 or "addon-google_apis-google-4"
     Type: Addon
     Desc: Google APIs, Android API 4, revision 2 (Obsolete)
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 4
----------
id: 151 or "addon-google_apis-google-3"
     Type: Addon
     Desc: Google APIs, Android API 3, revision 3 (Obsolete)
           By Google Inc.
           Android + Google APIs
           Requires SDK Platform Android API 3
----------
id: 152 or "source-24"
     Type: Source
     Desc: Sources for Android SDK, API 24, revision 1
----------
id: 153 or "source-23"
     Type: Source
     Desc: Sources for Android SDK, API 23, revision 1
----------
id: 154 or "source-22"
     Type: Source
     Desc: Sources for Android SDK, API 22, revision 1
----------
id: 155 or "source-21"
     Type: Source
     Desc: Sources for Android SDK, API 21, revision 1
----------
id: 156 or "source-20"
     Type: Source
     Desc: Sources for Android SDK, API 20, revision 1
----------
id: 157 or "source-19"
     Type: Source
     Desc: Sources for Android SDK, API 19, revision 2
----------
id: 158 or "source-18"
     Type: Source
     Desc: Sources for Android SDK, API 18, revision 1
----------
id: 159 or "source-17"
     Type: Source
     Desc: Sources for Android SDK, API 17, revision 1
----------
id: 160 or "source-16"
     Type: Source
     Desc: Sources for Android SDK, API 16, revision 2
----------
id: 161 or "source-15"
     Type: Source
     Desc: Sources for Android SDK, API 15, revision 2
----------
id: 162 or "source-14"
     Type: Source
     Desc: Sources for Android SDK, API 14, revision 1 (Obsolete)
----------
id: 163 or "extra-android-m2repository"
     Type: Extra
     Desc: Android Support Repository, revision 39
           By Android
           Local Maven repository for Support Libraries
           Install path: extras/android/m2repository
----------
id: 164 or "extra-android-support"
     Type: Extra
     Desc: Android Support Library, revision 23.2.1 (Obsolete)
           By Android
           Install path: extras/android/support
----------
id: 165 or "extra-google-admob_ads_sdk"
     Type: Extra
     Desc: Google AdMob Ads SDK, revision 11 (Obsolete)
           By Google Inc.
           AdMob Ads SDK
           Install path: extras/google/admob_ads_sdk
----------
id: 166 or "extra-google-analytics_sdk_v2"
     Type: Extra
     Desc: Google Analytics App Tracking SDK, revision 3 (Obsolete)
           By Google Inc.
           Analytics App Tracking SDK
           Install path: extras/google/analytics_sdk_v2
----------
id: 167 or "extra-google-auto"
     Type: Extra
     Desc: Android Auto Desktop Head Unit emulator, revision 1.1
           By Google Inc.
           Head unit emulator for developers targeting the Android Auto
           platform.
           Install path: extras/google/auto
----------
id: 168 or "extra-google-gcm"
     Type: Extra
     Desc: Google Cloud Messaging for Android Library, revision 3 (Obsolete)
           By Google Inc.
           GCM library has been moved to Google Play Services
           (com.google.android.gms.gcm) and this standalone version is no
           longer supported
           Install path: extras/google/gcm
----------
id: 169 or "extra-google-google_play_services_froyo"
     Type: Extra
     Desc: Google Play services for Froyo, revision 12 (Obsolete)
           By Google Inc.
           Google Play services client library and sample code
           Install path: extras/google/google_play_services_froyo
----------
id: 170 or "extra-google-google_play_services"
     Type: Extra
     Desc: Google Play services, revision 37
           By Google Inc.
           Google Play services Javadocs and sample code
           Install path: extras/google/google_play_services
----------
id: 171 or "extra-google-m2repository"
     Type: Extra
     Desc: Google Repository, revision 38
           By Google Inc.
           Local Maven repository for Support Libraries
           Install path: extras/google/m2repository
----------
id: 172 or "extra-google-market_apk_expansion"
     Type: Extra
     Desc: Google Play APK Expansion library, revision 1
           By Google Inc.
           Android Market APK Expansion library
           Install path: extras/google/market_apk_expansion
----------
id: 173 or "extra-google-market_licensing"
     Type: Extra
     Desc: Google Play Licensing Library, revision 1
           By google
           Android Market Licensing client library
           Install path: extras/google/market_licensing
----------
id: 174 or "extra-google-play_billing"
     Type: Extra
     Desc: Google Play Billing Library, revision 5
           By Google Inc.
           Google Play Billing files and sample code
           Install path: extras/google/play_billing
----------
id: 175 or "extra-google-simulators"
     Type: Extra
     Desc: Android Auto API Simulators, revision 1
           By Google Inc.
           Android Auto API testing simulators
           Install path: extras/google/simulators
----------
id: 176 or "extra-google-webdriver"
     Type: Extra
     Desc: Google Web Driver, revision 2
           By Google Inc.
           Install path: extras/google/webdriver

# Android packages installation done.
# Check application requirements
# Check garden requirements
# Compile platform
# Command failed: python -m pythonforandroid.toolchain --color=always --storage-dir=/home/savas/Documents/Programming/Python/MobileTest/Crawler/.buildozer/android/platform/build create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy,ffmpeg,requests,js2py,enum,sqlite3 --arch armeabi-v7a --copy-libs
# 
# Buildozer failed to execute the last command
# If the error is not obvious, please raise the log_level to 2
# and retry the latest command.
# In case of a bug report, please add a full log with log_level = 2
germn commented 7 years ago

Current ffmpeg recipe has nothing to do with kivy video providers. You should add ffpyplayer to be able to play video on android. Note, that recipe for it isn't in python-for-android yet, but you can use p4a from this branch: https://github.com/kivy/python-for-android/pull/954

Fisk24 commented 7 years ago

omg thanks for that, I was wondering why my videos weren't playing

amazfs commented 7 years ago

excuse me, but i'm new to kivy, ffmpeg and ffpyplayer requirements in buildozer.spec makes buildozer fails to compile apk. What i have specifically to do? thanks anyway

germn commented 7 years ago

@fisiodes 1) Do you build apk with 'android' (old, pygame based toolchain) or 'android_new' (new, sdl2 based toolchain) command? 2) What your buildozer.spec requirements line exactly is? 3) Does your programm builds fine without adding ffmpeg and ffpyplayer in requirements? 4) You're trying to make video on Android work, aren't you?

amazfs commented 7 years ago
  1. android_new
  2. requirements = kivy,hostpython2,ffmpeg
  3. yes, except for play videos obviously
  4. yes here is my log:

    
    /home/andrea/Desktop/kivy/.buildozer/android/platform/build/build/other_builds/ffmpeg/armeabi-v7a/ffmpeg
    ./libpng_build.sh: line 5: pushd: libpng-1.6.21: No such file or directory
    make: *** No rule to make target 'clean'.  Stop.
    ./libpng_build.sh: line 17: ./configure: No such file or directory
    
    STDERR:

Command failed: python -m pythonforandroid.toolchain create --dist_name=quta --bootstrap=sdl2 --requirements=kivy,hostpython2,ffmpeg --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/andrea/Desktop/kivy/.buildozer/android/platform/build

Buildozer failed to execute the last command



I have readed forum on update libpng or reinstall 1.6.21 version. What i have to do? and how? thanks!
inclement commented 7 years ago

I think the ffmpeg recipe is broken with android_new. There's a pull request that I think should fix it, which hopefully will be merged fairly shortly.

amazfs commented 7 years ago

Hi inclem, we have talked in this post: https://stackoverflow.com/questions/42008776/buildozer-deploy-stucks I have not resolved gifs issue so i have converted them in mp4 videos. Tried with android command:

# Package the application
Traceback (most recent call last):
  File "/usr/local/bin/buildozer", line 11, in <module>
    load_entry_point('buildozer', 'console_scripts', 'buildozer')()
  File "/home/andrea/buildozer/buildozer/scripts/client.py", line 13, in main
    Buildozer().run_command(sys.argv[1:])
  File "/home/andrea/buildozer/buildozer/__init__.py", line 1029, in run_command
    self.target.run_commands(args)
  File "/home/andrea/buildozer/buildozer/target.py", line 91, in run_commands
    func(args)
  File "/home/andrea/buildozer/buildozer/target.py", line 103, in cmd_debug
    self.buildozer.build()
  File "/home/andrea/buildozer/buildozer/__init__.py", line 211, in build
    self.target.build_package()
  File "/home/andrea/buildozer/buildozer/targets/android.py", line 646, in build_package
    self._update_libraries_references(dist_dir)
  File "/home/andrea/buildozer/buildozer/targets/android.py", line 815, in _update_libraries_references
    fd.writelines(content)
TypeError: write() argument 1 must be unicode, not str
germn commented 7 years ago

@fisiodes you're trying to build apk with ffmpeg recipe. ffmpeg is currently broken, and besides that it's slow and buggy (outdated).

ffpyplayer is modern alternative to ffmpeg that enables video support, I advice you to use it. Currently recipe for ffpyplayer is not merged in p4a yet, but you can use it this way:

  1. Create your local copy of p4a with ffpyplayer recipe merged by command

    git clone -b ffpyplayer_new_toolchain https://github.com/germn/python-for-android/

  2. specify path to your local p4a in your buildozer.spec

    android.p4a_dir = /home/kivy/python-for-android

  3. Fix you requirements to use ffpyplayer recipe instead of ffmpeg:

    requirements = hostpython2, kivy, ffpyplayer, openssl, ffpyplayer_codecs

  4. Now you can run buildozer android_new debug

amazfs commented 7 years ago

Thank you so much! Done it but build fails again:

[INFO]:    Building libshine for armeabi-v7a
[INFO]:    -> directory context /home/andrea/Desktop/kivy/.buildozer/android/platform/build/build/other_builds/libshine/armeabi-v7a/libshine
[INFO]:    -> running bootstrap
ccache found, will optimize builds                                             
('path is', '/home/andrea/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/:/home/andrea/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/:/home/andrea/.buildozer/android/platform/android-ndk-r9c:/home/andrea/.buildozer/android/platform/android-sdk-20/tools:/home/andrea/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/andrea/bin:/home/andrea/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games')
           working: ./bootstrap:Exception in thread background thread for pid 11566:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/python2.7/dist-packages/sh.py", line 1401, in wrap
    fn(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/sh.py", line 2294, in background_thread
    handle_exit_code(exit_code)
  File "/usr/local/lib/python2.7/dist-packages/sh.py", line 1993, in fn
    return self.command.handle_command_exit_code(exit_code)
  File "/usr/local/lib/python2.7/dist-packages/sh.py", line 677, in handle_command_exit_code
    raise exc
ErrorReturnCode_127: 

  RAN: ./bootstrap

  STDOUT:
./bootstrap: 4: ./bootstrap: autoreconf: not found

  STDERR:

Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/andrea/kivy/python-for-android/pythonforandroid/toolchain.py", line 842, in <module>
    main()
  File "/home/andrea/kivy/python-for-android/pythonforandroid/toolchain.py", line 839, in main
    ToolchainCL()
  File "/home/andrea/kivy/python-for-android/pythonforandroid/toolchain.py", line 489, in __init__
    getattr(self, args.subparser_name.replace('-', '_'))(args)
  File "/home/andrea/kivy/python-for-android/pythonforandroid/toolchain.py", line 147, in wrapper_func
    build_dist_from_args(ctx, dist, args)
  File "/home/andrea/kivy/python-for-android/pythonforandroid/toolchain.py", line 190, in build_dist_from_args
    build_recipes(build_order, python_modules, ctx)
  File "pythonforandroid/build.py", line 562, in build_recipes
  File "/home/andrea/kivy/python-for-android/pythonforandroid/recipes/libshine/__init__.py", line 20, in build_arch
    shprint(sh.Command('./bootstrap'))
  File "pythonforandroid/logger.py", line 173, in shprint
  File "/usr/local/lib/python2.7/dist-packages/sh.py", line 725, in next
    self.wait()
  File "/usr/local/lib/python2.7/dist-packages/sh.py", line 656, in wait
    self.handle_command_exit_code(exit_code)
  File "/usr/local/lib/python2.7/dist-packages/sh.py", line 677, in handle_command_exit_code
    raise exc
sh.ErrorReturnCode_127: 

  RAN: ./bootstrap

  STDOUT:
./bootstrap: 4: ./bootstrap: autoreconf: not found

  STDERR:

# Command failed: python -m pythonforandroid.toolchain create --dist_name=quta --bootstrap=sdl2 --requirements=kivy,ffpyplayer,openssl,ffpyplayer_codecs,hostpython2 --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/andrea/Desktop/kivy/.buildozer/android/platform/build
# 
# Buildozer failed to execute the last command
inclement commented 5 years ago

ffmpeg builds should currently be working in python-for-android.

AndreMiras commented 5 years ago

Plus you're missing a system dependency autoreconf binary comes from autoconf package on Ubuntu

praaggg commented 3 years ago

ffmpeg builds should currently be working in python-for-android.

But it gives the following error: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg

USER4247 commented 1 year ago

Hi , I had a question , were you successful in compiling js2py ? is it running fine ?