kivy / python-for-android

Turn your Python application into an Android APK
https://python-for-android.readthedocs.io
MIT License
8.35k stars 1.85k forks source link

build an android app with ffpyplayer #2453

Closed fayfive closed 2 years ago

fayfive commented 3 years ago

Checklist

Versions

Description

build an android app with ffpyplayer does not work. The last error log is I/python (26059): [ERROR ] [ffpyplayer ] rtsp://192.168.13.100/1: Protocol not found

buildozer.spec

[app]

(str) Title of your application

title = My Application

(str) Package name

package.name = myapp

(str) Package domain (needed for android/ios packaging)

package.domain = org.test

(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

(list) List of inclusions using pattern matching

source.include_patterns = assets/,images/.png

(list) Source files to exclude (let empty to not exclude anything)

source.exclude_exts = spec

(list) List of directory to exclude (let empty to not exclude anything)

source.exclude_dirs = tests, bin

(list) List of exclusions using pattern matching

source.exclude_patterns = license,images//.jpg

(str) Application versioning (method 1)

version = 0.1

(str) Application versioning (method 2)

version.regex = version = '"['"]

version.filename = %(source.dir)s/main.py

(list) Application requirements

comma separated e.g. requirements = sqlite3,kivy

requirements = python3,kivy,ffpyplayer

(str) Custom source folders for requirements

Sets custom source for any requirements with recipes

requirements.source.kivy = ../../kivy

(list) Garden requirements

garden_requirements =

(str) Presplash of the application

presplash.filename = %(source.dir)s/data/presplash.png

(str) Icon of the application

icon.filename = %(source.dir)s/data/icon.png

(str) Supported orientation (one of landscape, sensorLandscape, 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.9.1

#

Android specific

#

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

fullscreen = 1

(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

(int) Target Android API, should be as high as possible.

android.api = 27

(int) Minimum API your APK will support.

android.minapi = 21

(int) Android SDK version to use

android.sdk = 20

(str) Android NDK version to use

android.ndk = 19b

(int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.

android.ndk_api = 21

(bool) Use --private data storage (True) or --dir public storage (False)

android.private_storage = True

(str) Android NDK directory (if empty, it will be automatically downloaded.)

android.ndk_path =

(str) Android SDK directory (if empty, it will be automatically downloaded.)

android.sdk_path =

(str) ANT directory (if empty, it will be automatically downloaded.)

android.ant_path =

(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

(bool) If True, then automatically accept SDK license

agreements. This is intended for automation only. If set to False,

the default, you will be shown the license when first running

buildozer.

android.accept_sdk_license = False

(str) Android entry point, default is ok for Kivy-based app

android.entrypoint = org.renpy.android.PythonActivity

(str) Android app theme, default is ok for Kivy-based app

android.apptheme = "@android:style/Theme.NoTitleBar"

(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) add java compile options

this can for example be necessary when importing certain java libraries using the 'android.gradle_dependencies' option

see https://developer.android.com/studio/write/java8-support for further information

android.add_compile_options = "sourceCompatibility = 1.8", "targetCompatibility = 1.8"

(list) Gradle repositories to add {can be necessary for some android.gradle_dependencies}

please enclose in double quotes

e.g. android.gradle_repositories = "maven { url 'https://kotlin.bintray.com/ktor' }"

android.add_gradle_repositories =

(list) packaging options to add

see https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.PackagingOptions.html

can be necessary to solve conflicts in gradle_dependencies

please enclose in double quotes

e.g. android.add_packaging_options = "exclude 'META-INF/common.kotlin_module'", "exclude 'META-INF/*.kotlin_module'"

android.add_gradle_repositories =

(list) Java classes to add as activities to the manifest.

android.add_activities = com.example.ExampleActivity

(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 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_arm64_v8a = libs/android-v8/*.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 =

(list) Android shared libraries which will be added to AndroidManifest.xml using tag

android.uses_library =

(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, x86_64

android.arch = armeabi-v7a

(int) overrides automatic versionCode computation (used in build.gradle)

this is not the same as app version and should only be edited if you know what you're doing

android.numeric_version = 1

#

Python for android (p4a) specific

#

(str) python-for-android fork to use, defaults to upstream (kivy)

p4a.fork = kivy

(str) python-for-android branch to use, defaults to master

p4a.branch = master

(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

Alternately, specify the URL and branch of a git checkout:

ios.kivy_ios_url = https://github.com/kivy/kivy-ios ios.kivy_ios_branch = master

Another platform dependency: ios-deploy

Uncomment to use a custom checkout

ios.ios_deploy_dir = ../ios_deploy

Or specify URL and branch

ios.ios_deploy_url = https://github.com/phonegap/ios-deploy ios.ios_deploy_branch = 1.7.0

(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: ()"

(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

Command: buildozer android debug


Spec file:

### Logs

D/audio_hw_primary( 1613): line:656,select_output_device,adev->mode:0, AUDIO_MODE_RINGTONE:1, AUDIO_MODE_NORMAL:0 V/audio_hw_primary( 1613): huangxin------normal mode, LINE:658,FUNC:select_output_device, adev->out_device:2 V/codec_audio_pad( 1613): in normal mode, headset or speaker on,LINE:74,FUNC:set_normal_path V/audio_hw_primary( 1613): normal mode , speaker,***LINE:660,FUNC:select_output_device V/audio_hw_primary( 1613): start_output_stream: card:0, port:0, rate:44100 V/audio_hw_primary( 1613): do not use out resampler I/ActivityManager( 2058): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=org.test.myapp/org.kivy.android.PythonActivity (has extras)} from uid 10010 on display 0 I/ActivityManager( 2058): Start proc org.test.myapp for activity org.test.myapp/org.kivy.android.PythonActivity: pid=26059 uid=10076 gids={50076, 9997, 1028, 1015, 3003} abi=armeabi-v7a I/art (26059): Late-enabling -Xcheck:jni V/ActivityManager( 2058): Display changed displayId=0 V/PythonActivity(26059): PythonActivity onCreate running V/PythonActivity(26059): About to do super onCreate V/SDL (26059): Device: kylin-p2 V/SDL (26059): Model: UltraOcta A80 p2 V/SDL (26059): onCreate() V/PythonActivity(26059): Did super onCreate V/SDL (26059): getting identifier V/SDL (26059): kind is drawable and name presplash V/SDL (26059): result is 2130771970 V/SDL (26059): asked to get string presplash_color V/SDL (26059): getting identifier V/SDL (26059): kind is string and name presplash_color V/SDL (26059): result is 2130968577 V/PythonActivity(26059): onResume() V/SDL (26059): onResume() V/PythonActivity(26059): Ready to unpack V/pythonactivityutil(26059): UNPACKING!!! private app V/SDL (26059): asked to get string private_version V/SDL (26059): getting identifier V/SDL (26059): kind is string and name private_version V/SDL (26059): result is 2130968578 V/pythonactivityutil(26059): Data version is 1620397243.0661962 D/OpenGLRenderer(26059): Render dirty regions requested: true D/Atlas (26059): Validating map... V/pythonutil(26059): Checking pattern libsqlite3.so against libavformat.so V/pythonutil(26059): Checking pattern libsqlite3.so against libavdevice.so V/pythonutil(26059): Checking pattern libsqlite3.so against libpython3.8m.so V/pythonutil(26059): Checking pattern libsqlite3.so against libswscale.so V/pythonutil(26059): Checking pattern libsqlite3.so against libssl1.1.so V/pythonutil(26059): Checking pattern libsqlite3.so against libavcodec.so V/pythonutil(26059): Checking pattern libsqlite3.so against libSDL2_mixer.so V/pythonutil(26059): Checking pattern libsqlite3.so against libswresample.so V/pythonutil(26059): Checking pattern libsqlite3.so against libSDL2_ttf.so V/pythonutil(26059): Checking pattern libsqlite3.so against libmain.so V/pythonutil(26059): Checking pattern libsqlite3.so against libSDL2.so V/pythonutil(26059): Checking pattern libsqlite3.so against libavutil.so V/pythonutil(26059): Checking pattern libsqlite3.so against libhidapi.so V/pythonutil(26059): Checking pattern libsqlite3.so against libavfilter.so V/pythonutil(26059): Checking pattern libsqlite3.so against libffi.so V/pythonutil(26059): Checking pattern libsqlite3.so against libsqlite3.so V/pythonutil(26059): Pattern libsqlite3.so matched file libsqlite3.so V/pythonutil(26059): Checking pattern libsqlite3.so against libcrypto1.1.so V/pythonutil(26059): Checking pattern libsqlite3.so against libpostproc.so V/pythonutil(26059): Checking pattern libsqlite3.so against libSDL2_image.so V/pythonutil(26059): Checking pattern libffi.so against libavformat.so V/pythonutil(26059): Checking pattern libffi.so against libavdevice.so V/pythonutil(26059): Checking pattern libffi.so against libpython3.8m.so V/pythonutil(26059): Checking pattern libffi.so against libswscale.so V/pythonutil(26059): Checking pattern libffi.so against libssl1.1.so V/pythonutil(26059): Checking pattern libffi.so against libavcodec.so V/pythonutil(26059): Checking pattern libffi.so against libSDL2_mixer.so V/pythonutil(26059): Checking pattern libffi.so against libswresample.so V/pythonutil(26059): Checking pattern libffi.so against libSDL2_ttf.so V/pythonutil(26059): Checking pattern libffi.so against libmain.so V/pythonutil(26059): Checking pattern libffi.so against libSDL2.so V/pythonutil(26059): Checking pattern libffi.so against libavutil.so V/pythonutil(26059): Checking pattern libffi.so against libhidapi.so V/pythonutil(26059): Checking pattern libffi.so against libavfilter.so V/pythonutil(26059): Checking pattern libffi.so against libffi.so V/pythonutil(26059): Pattern libffi.so matched file libffi.so V/pythonutil(26059): Checking pattern libffi.so against libsqlite3.so V/pythonutil(26059): Checking pattern libffi.so against libcrypto1.1.so V/pythonutil(26059): Checking pattern libffi.so against libpostproc.so V/pythonutil(26059): Checking pattern libffi.so against libSDL2_image.so V/pythonutil(26059): Checking pattern libpng16.so against libavformat.so V/pythonutil(26059): Checking pattern libpng16.so against libavdevice.so V/pythonutil(26059): Checking pattern libpng16.so against libpython3.8m.so V/pythonutil(26059): Checking pattern libpng16.so against libswscale.so V/pythonutil(26059): Checking pattern libpng16.so against libssl1.1.so V/pythonutil(26059): Checking pattern libpng16.so against libavcodec.so V/pythonutil(26059): Checking pattern libpng16.so against libSDL2_mixer.so V/pythonutil(26059): Checking pattern libpng16.so against libswresample.so V/pythonutil(26059): Checking pattern libpng16.so against libSDL2_ttf.so V/pythonutil(26059): Checking pattern libpng16.so against libmain.so V/pythonutil(26059): Checking pattern libpng16.so against libSDL2.so V/pythonutil(26059): Checking pattern libpng16.so against libavutil.so V/pythonutil(26059): Checking pattern libpng16.so against libhidapi.so V/pythonutil(26059): Checking pattern libpng16.so against libavfilter.so V/pythonutil(26059): Checking pattern libpng16.so against libffi.so V/pythonutil(26059): Checking pattern libpng16.so against libsqlite3.so V/pythonutil(26059): Checking pattern libpng16.so against libcrypto1.1.so V/pythonutil(26059): Checking pattern libpng16.so against libpostproc.so V/pythonutil(26059): Checking pattern libpng16.so against libSDL2_image.so V/pythonutil(26059): Checking pattern libssl..so against libavformat.so V/pythonutil(26059): Checking pattern libssl..so against libavdevice.so V/pythonutil(26059): Checking pattern libssl..so against libpython3.8m.so V/pythonutil(26059): Checking pattern libssl..so against libswscale.so V/pythonutil(26059): Checking pattern libssl..so against libssl1.1.so V/pythonutil(26059): Pattern libssl..so matched file libssl1.1.so V/pythonutil(26059): Checking pattern libssl..so against libavcodec.so V/pythonutil(26059): Checking pattern libssl..so against libSDL2_mixer.so V/pythonutil(26059): Checking pattern libssl..so against libswresample.so V/pythonutil(26059): Checking pattern libssl..so against libSDL2_ttf.so V/pythonutil(26059): Checking pattern libssl..so against libmain.so V/pythonutil(26059): Checking pattern libssl..so against libSDL2.so V/pythonutil(26059): Checking pattern libssl..so against libavutil.so V/pythonutil(26059): Checking pattern libssl..so against libhidapi.so V/pythonutil(26059): Checking pattern libssl..so against libavfilter.so V/pythonutil(26059): Checking pattern libssl..so against libffi.so V/pythonutil(26059): Checking pattern libssl..so against libsqlite3.so V/pythonutil(26059): Checking pattern libssl..so against libcrypto1.1.so V/pythonutil(26059): Checking pattern libssl..so against libpostproc.so V/pythonutil(26059): Checking pattern libssl..so against libSDL2_image.so V/pythonutil(26059): Checking pattern libcrypto..so against libavformat.so V/pythonutil(26059): Checking pattern libcrypto..so against libavdevice.so V/pythonutil(26059): Checking pattern libcrypto..so against libpython3.8m.so V/pythonutil(26059): Checking pattern libcrypto..so against libswscale.so V/pythonutil(26059): Checking pattern libcrypto..so against libssl1.1.so V/pythonutil(26059): Checking pattern libcrypto..so against libavcodec.so V/pythonutil(26059): Checking pattern libcrypto..so against libSDL2_mixer.so V/pythonutil(26059): Checking pattern libcrypto..so against libswresample.so V/pythonutil(26059): Checking pattern libcrypto..so against libSDL2_ttf.so V/pythonutil(26059): Checking pattern libcrypto..so against libmain.so V/pythonutil(26059): Checking pattern libcrypto..so against libSDL2.so V/pythonutil(26059): Checking pattern libcrypto..so against libavutil.so V/pythonutil(26059): Checking pattern libcrypto..so against libhidapi.so V/pythonutil(26059): Checking pattern libcrypto..so against libavfilter.so V/pythonutil(26059): Checking pattern libcrypto..so against libffi.so V/pythonutil(26059): Checking pattern libcrypto..so against libsqlite3.so V/pythonutil(26059): Checking pattern libcrypto..so against libcrypto1.1.so V/pythonutil(26059): Pattern libcrypto..so matched file libcrypto1.1.so V/pythonutil(26059): Checking pattern libcrypto..so against libpostproc.so V/pythonutil(26059): Checking pattern libcrypto.*.so against libSDL2_image.so V/pythonutil(26059): Checking pattern libSDL2.so against libavformat.so V/pythonutil(26059): Checking pattern libSDL2.so against libavdevice.so V/pythonutil(26059): Checking pattern libSDL2.so against libpython3.8m.so V/pythonutil(26059): Checking pattern libSDL2.so against libswscale.so V/pythonutil(26059): Checking pattern libSDL2.so against libssl1.1.so V/pythonutil(26059): Checking pattern libSDL2.so against libavcodec.so V/pythonutil(26059): Checking pattern libSDL2.so against libSDL2_mixer.so V/pythonutil(26059): Checking pattern libSDL2.so against libswresample.so V/pythonutil(26059): Checking pattern libSDL2.so against libSDL2_ttf.so V/pythonutil(26059): Checking pattern libSDL2.so against libmain.so V/pythonutil(26059): Checking pattern libSDL2.so against libSDL2.so V/pythonutil(26059): Pattern libSDL2.so matched file libSDL2.so V/pythonutil(26059): Checking pattern libSDL2.so against libavutil.so V/pythonutil(26059): Checking pattern libSDL2.so against libhidapi.so V/pythonutil(26059): Checking pattern libSDL2.so against libavfilter.so V/pythonutil(26059): Checking pattern libSDL2.so against libffi.so V/pythonutil(26059): Checking pattern libSDL2.so against libsqlite3.so V/pythonutil(26059): Checking pattern libSDL2.so against libcrypto1.1.so V/pythonutil(26059): Checking pattern libSDL2.so against libpostproc.so V/pythonutil(26059): Checking pattern libSDL2.so against libSDL2_image.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libavformat.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libavdevice.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libpython3.8m.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libswscale.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libssl1.1.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libavcodec.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libSDL2_mixer.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libswresample.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libSDL2_ttf.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libmain.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libSDL2.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libavutil.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libhidapi.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libavfilter.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libffi.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libsqlite3.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libcrypto1.1.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libpostproc.so V/pythonutil(26059): Checking pattern libSDL2_image.so against libSDL2_image.so V/pythonutil(26059): Pattern libSDL2_image.so matched file libSDL2_image.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libavformat.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libavdevice.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libpython3.8m.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libswscale.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libssl1.1.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libavcodec.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libSDL2_mixer.so V/pythonutil(26059): Pattern libSDL2_mixer.so matched file libSDL2_mixer.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libswresample.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libSDL2_ttf.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libmain.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libSDL2.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libavutil.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libhidapi.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libavfilter.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libffi.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libsqlite3.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libcrypto1.1.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libpostproc.so V/pythonutil(26059): Checking pattern libSDL2_mixer.so against libSDL2_image.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libavformat.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libavdevice.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libpython3.8m.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libswscale.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libssl1.1.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libavcodec.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libSDL2_mixer.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libswresample.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libSDL2_ttf.so V/pythonutil(26059): Pattern libSDL2_ttf.so matched file libSDL2_ttf.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libmain.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libSDL2.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libavutil.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libhidapi.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libavfilter.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libffi.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libsqlite3.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libcrypto1.1.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libpostproc.so V/pythonutil(26059): Checking pattern libSDL2_ttf.so against libSDL2_image.so V/pythonutil(26059): Loading library: sqlite3 V/pythonutil(26059): Loading library: ffi V/pythonutil(26059): Loading library: ssl1.1 V/pythonutil(26059): Loading library: crypto1.1 V/pythonutil(26059): Loading library: SDL2 V/pythonutil(26059): Loading library: SDL2_image V/pythonutil(26059): Loading library: SDL2_mixer V/pythonutil(26059): Loading library: SDL2_ttf V/pythonutil(26059): Loading library: python3.5m V/pythonutil(26059): Library loading error: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.test.myapp-1/base.apk"],nativeLibraryDirectories=[/data/app/org.test.myapp-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libpython3.5m.so" V/pythonutil(26059): Loading library: python3.6m V/pythonutil(26059): Library loading error: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.test.myapp-1/base.apk"],nativeLibraryDirectories=[/data/app/org.test.myapp-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libpython3.6m.so" V/pythonutil(26059): Loading library: python3.7m V/pythonutil(26059): Library loading error: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.test.myapp-1/base.apk"],nativeLibraryDirectories=[/data/app/org.test.myapp-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libpython3.7m.so" V/pythonutil(26059): Loading library: python3.8m V/pythonutil(26059): Loading library: main V/pythonutil(26059): Loaded everything! V/SDL (26059): nativeSetupJNI() V/SDL (26059): AUDIO nativeSetupJNI() V/SDL (26059): CONTROLLER nativeSetupJNI() D/hidapi (26059): Initializing Bluetooth D/hidapi (26059): Couldn't initialize Bluetooth, missing android.permission.BLUETOOTH V/PythonActivity(26059): Setting env vars for start.c and Python to use V/PythonActivity(26059): Access to our meta-data... I/PythonActivity(26059): Surface will NOT be transparent V/PythonActivity(26059): onResume() V/SDL (26059): onResume() D/libEGL (26059): loaded /vendor/lib/egl/libEGL_POWERVR_ROGUE.so E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 D/libEGL (26059): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_ROGUE.so E/IMGSRV (26059): :0: OGLES3LIBNAME is /system/vendor/lib/egl/libGLESv2_POWERVR_ROGUE.so D/libEGL (26059): loaded /vendor/lib/egl/libGLESv2_POWERVR_ROGUE.so E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 I/OpenGLRenderer(26059): Initialized EGL, version 1.4 W/OpenGLRenderer(26059): Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without... E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 D/OpenGLRenderer(26059): Enabling debug mode 0 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 V/SDL (26059): surfaceCreated() V/SDL (26059): surfaceChanged() V/SDL (26059): pixel format RGB_565 V/SDL (26059): Window size: 1536x1952 V/SDL (26059): Device size: 1536x2048 V/SDL (26059): nativeResume() V/SDL (26059): Running main function SDL_main from library /data/app/org.test.myapp-1/lib/arm/libmain.so V/PythonActivity(26059): appConfirmedActive() -> preparing loading screen removal V/SDL (26059): nativeRunMain() I/python (26059): Initializing Python for Android I/python (26059): Setting additional env vars from p4a_env_vars.txt I/python (26059): Changing directory to the one provided by ANDROID_ARGUMENT I/python (26059): /data/data/org.test.myapp/files/app I/python (26059): Preparing to initialize python I/python (26059): _python_bundle dir exists I/python (26059): calculated paths to be... I/python (26059): /data/data/org.test.myapp/files/app/_python_bundle/stdlib.zip:/data/data/org.test.myapp/files/app/_python_bundle/modules I/python (26059): set wchar paths... V/SDL (26059): surfaceChanged() V/SDL (26059): pixel format RGB_565 V/SDL (26059): Window size: 1536x1902 V/SDL (26059): Device size: 1536x2048 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 I/ActivityManager( 2058): Displayed org.test.myapp/org.kivy.android.PythonActivity: +1s167ms I/ActivityManager( 2058): Timeline: Activity_windows_visible id: org.test.myapp time:4840213 V/SDL (26059): onWindowFocusChanged(): true I/python (26059): Initialized python I/python (26059): AND: Init threads I/python (26059): testing python print redirection I/python (26059): Android path ['.', '/data/data/org.test.myapp/files/app/_python_bundle/stdlib.zip', '/data/data/org.test.myapp/files/app/_python_bundle/modules', '/data/data/org.test.myapp/files/app/_python_bundle/site-packages'] I/python (26059): os.environ is environ({'PATH': '/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin', 'ANDROID_BOOTLOGO': '1', 'ANDROID_ROOT': '/system', 'ANDROID_ASSETS': '/system/app', 'ANDROID_DATA': '/data', 'ANDROID_STORAGE': '/storage', 'ASEC_MOUNTPOINT': '/mnt/asec', 'LOOP_MOUNTPOINT': '/mnt/obb', 'BOOTCLASSPATH': '/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/apache-xml.jar', 'SYSTEMSERVERCLASSPATH': '/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/wifi-service.jar', 'LD_PRELOAD': 'libsigchain.so', 'EXTERNAL_STORAGE': '/storage/emulated/legacy', 'EMULATED_STORAGE_SOURCE': '/mnt/shell/emulated', 'EMULATED_STORAGE_TARGET': '/storage/emulated', 'SECONDARY_STORAGE': '/storage/extsd', 'ANDROID_PROPERTY_WORKSPACE': '15,0', 'ANDROID_SOCKET_zygote': '17', 'ANDROID_ENTRYPOINT': 'main.pyc', 'ANDROID_ARGUMENT': '/data/data/org.test.myapp/files/app', 'ANDROID_APP_PATH': '/data/data/org.test.myapp/files/app', 'ANDROID_PRIVATE': '/data/data/org.test.myapp/files', 'ANDROID_UNPACK': '/data/data/org.test.myapp/files/app', 'PYTHONHOME': '/data/data/org.test.myapp/files/app', 'PYTHONPATH': '/data/data/org.test.myapp/files/app:/data/data/org.test.myapp/files/app/lib', 'PYTHONOPTIMIZE': '2', 'P4A_BOOTSTRAP': 'SDL2', 'PYTHON_NAME': 'python', 'P4A_IS_WINDOWED': 'False', 'P4A_ORIENTATION': 'portrait', 'P4A_NUMERIC_VERSION': 'None', 'P4A_MINSDK': '21', 'LC_CTYPE': 'C.UTF-8'}) I/python (26059): Android kivy bootstrap done. name is main I/python (26059): AND: Ran string I/python (26059): Run user program, change dir and execute entrypoint E/WifiHW ( 2058): cmd = IFNAME=wlan0 SIGNAL_POLL I/python (26059): [INFO ] [Logger ] Record log in /data/data/org.test.myapp/files/app/.kivy/logs/kivy_21-05-07_1.txt I/python (26059): [INFO ] [Kivy ] v1.11.1 I/python (26059): [INFO ] [Kivy ] Installed at "/data/data/org.test.myapp/files/app/_python_bundle/site-packages/kivy/init.pyc" I/python (26059): [INFO ] [Python ] v3.8.1 (default, May 7 2021, 06:12:31) I/python (26059): [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 I/python (26059): [INFO ] [Python ] Interpreter at "" I/python (26059): [INFO ] [Logger ] Purge log fired. Analysing... I/python (26059): [INFO ] [Logger ] Purge finished! D/audio_hw_primary( 1613): out_standby I/python (26059): [INFO ] [Factory ] 184 symbols loaded I/python (26059): [INFO ] [ImageLoaderFFPy] Using ffpyplayer 4.2.0.dev0 I/python (26059): [INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_ffpyplayer, img_gif (img_pil ignored) I/python (26059): [INFO ] [Text ] Provider: sdl2 I/python (26059): [INFO ] [VideoFFPy ] Using ffpyplayer 4.2.0.dev0 I/python (26059): [INFO ] [Video ] Provider: ffpyplayer(['video_ffmpeg'] ignored) I/python (26059): 4.2.0.dev0 I/python (26059): [INFO ] [Window ] Provider: sdl2 E/libEGL (26059): validate_display:255 error 3008 (EGL_BAD_DISPLAY) V/SDL (26059): setOrientation() orientation=-1 width=1536 height=2048 resizable=true hint= V/SDL (26059): surfaceChanged() V/SDL (26059): pixel format RGB_565 V/SDL (26059): Window size: 1536x2048 V/SDL (26059): Device size: 1536x2048 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 E/IMGSRV (26059): :0: FindAppHintInFile : Error in /etc/powervr.ini at line 21 I/python (26059): [INFO ] [GL ] Using the "OpenGL ES 2" graphics system E/WifiHW ( 2058): cmd = IFNAME=wlan0 SIGNAL_POLL I/python (26059): [INFO ] [GL ] Backend used I/python (26059): [INFO ] [GL ] OpenGL version <b'OpenGL ES 3.1 build 1.4@3169751'> I/python (26059): [INFO ] [GL ] OpenGL vendor <b'Imagination Technologies'> I/python (26059): [INFO ] [GL ] OpenGL renderer <b'PowerVR Rogue G6230'> I/python (26059): [INFO ] [GL ] OpenGL parsed version: 3, 1 I/python (26059): [INFO ] [GL ] Texture max size <8192> I/python (26059): [INFO ] [GL ] Texture max units <16> I/python (26059): [INFO ] [Window ] auto add sdl2 input provider I/python (26059): [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked I/python (26059): [WARNING] Deprecated property "" of object "<kivy.uix.video.Video object at 0x9f5b9b38>" has been set, it will be removed in a future version I/python (26059): [ERROR ] [Image ] Error reading file rtsp://192.168.13.100/1 I/python (26059): [WARNING] [Base ] Unknown provider I/python (26059): [INFO ] [Base ] Start application main loop I/python (26059): [ERROR ] [ffpyplayer ] rtsp://192.168.13.100/1: Protocol not found E/SurfaceFlinger( 1484): rejecting buffer: bufWidth=1536, bufHeight=1902, front.active.{w=1536, h=1952} E/WifiHW ( 2058): cmd = IFNAME=wlan0 SIGNAL_POLL E/WifiHW ( 2058): cmd = IFNAME=wlan0 SIGNAL_POLL



when I build, I see serval error and I don't know if the error will affect the results, so I post the build error here :
clang: error: no such file or directory: 'ffpyplayer/pic.c'
clang: error: no input files
error: command '/home/alfred/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit status 1

clang: error: no such file or directory: 'jnius/jnius.c'
clang: error: no input files
error: command '/home/alfred/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit status 1

clang: error: no such file or directory: 'kivy/_event.c'
clang: error: no input files
 error: command '/home/alfred/.buildozer/android/platform/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit status 1
RobertFlatt commented 3 years ago

It looks like ffyplayer doesn't support rstp.

fayfive commented 3 years ago

Thanks! I found the reason that the ffmpeg default makefile options is not build all the modules. I should switch the options.

github-actions[bot] commented 2 years ago

👋 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.

If you're having trouble installing or using python-for-android, maybe you could be interested in our quickstart guide.

Let us know if this comment was made in error, and we'll be happy to reopen the issue.