kivy / buildozer

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

android api 33 #1566

Closed thiva7 closed 1 year ago

thiva7 commented 1 year ago

Hello ,

Versions

Description

I have issue with exporting my app to android Api 33, is working on every android 12 ( 32) but not in 13 (33)

buildozer.spec

Command:

buildozer -v android debug run

Spec file:

Not posting all file since everything else is default

android.api = 33
#android.minapi = 21
#android.sdk = 21
#android.ndk = 25b
#android.ndk_api = 21

Logs

[DEBUG]:    Unzipping /home/paris/.gradle/wrapper/dists/gradle-7.4.1-all/8bevta3mh7872g50ecurigeld/gradle-7.4.1-all.zip to /home/paris/.gradle/wrapper/dists/gradle-7.4.1-all/8bevta3mh7872g50ecurigeld
[DEBUG]:    Set executable permissions for: /home/paris/.gradle/wrapper/dists/gradle-7.4.1-all/8bevta3mh7872g50ecurigeld/gradle-7.4.1/bin/gradle
[DEBUG]:    
[DEBUG]:    Welcome to Gradle 7.4.1!
[DEBUG]:    
[DEBUG]:    Here are the highlights of this release:
[DEBUG]:     - Aggregated test and JaCoCo reports
[DEBUG]:     - Marking additional test source directories as tests in IntelliJ
[DEBUG]:     - Support for Adoptium JDKs in Java toolchains
[DEBUG]:    
[DEBUG]:    For more details see https://docs.gradle.org/7.4.1/release-notes.html
[DEBUG]:    
[DEBUG]:    Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details
[DEBUG]:    
[DEBUG]:    > Configure project :
[DEBUG]:    WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.
[DEBUG]:    WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 33
[DEBUG]:    
[DEBUG]:    This Android Gradle plugin (7.1.2) was tested up to compileSdk = 32
[DEBUG]:    
[DEBUG]:    This warning can be suppressed by adding
[DEBUG]:        android.suppressUnsupportedCompileSdk=33
[DEBUG]:    to this project's gradle.properties
[DEBUG]:    
[DEBUG]:    The build will continue, but you are strongly encouraged to update your project to
[DEBUG]:    use a newer Android Gradle Plugin that has been tested with compileSdk = 33
[DEBUG]:    
[DEBUG]:    > Task :stripDebugDebugSymbols
[DEBUG]:    Unable to strip the following libraries, packaging them as they are: libSDL2.so, libSDL2_image.so, libSDL2_mixer.so, libSDL2_ttf.so, libcrypto1.1.so, libffi.so, libfreetype.so, libmain.so, libpng16.so, libpybundle.so, libpython3.9.so, libsqlite3.so, libssl1.1.so.
[DEBUG]:    
[DEBUG]:    > Task :compileDebugJavaWithJavac
[DEBUG]:    Note: Some input files use or override a deprecated API.
[DEBUG]:    Note: Recompile with -Xlint:deprecation for details.
[DEBUG]:    
[DEBUG]:    Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[DEBUG]:    
[DEBUG]:    You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[DEBUG]:    
[DEBUG]:    See https://docs.gradle.org/7.4.1/userguide/command_line_interface.html#sec:command_line_warnings
[DEBUG]:    > IDLE
[DEBUG]:    BUILD SUCCESSFUL in 1m 6s
[DEBUG]:    31 actionable tasks: 30 executed, 1 up-to-date
RobertFlatt commented 1 year ago

What is the issue that you actually see when the app is executed? Please share any run time error messages.

thiva7 commented 1 year ago

Command:

adb logcat -s "python"
--------- beginning of main
02-16 05:11:00.048 32703 32767 I python  : Initializing Python for Android
02-16 05:11:00.048 32703 32767 I python  : Setting additional env vars from p4a_env_vars.txt
02-16 05:11:00.049 32703 32767 I python  : Changing directory to the one provided by ANDROID_ARGUMENT
02-16 05:11:00.049 32703 32767 I python  : /data/user/0/working.org.working/files/app
02-16 05:11:00.051 32703 32767 I python  : Preparing to initialize python
02-16 05:11:00.052 32703 32767 I python  : _python_bundle dir exists
02-16 05:11:00.052 32703 32767 I python  : calculated paths to be...
02-16 05:11:00.052 32703 32767 I python  : /data/user/0/working.org.working/files/app/_python_bundle/stdlib.zip:/data/user/0/working.org.working/files/app/_python_bundle/modules
02-16 05:11:00.054 32703 32767 I python  : set wchar paths...
02-16 05:11:00.105 32703 32767 I python  : Initialized python
02-16 05:11:00.105 32703 32767 I python  : AND: Init threads
02-16 05:11:00.105 32703 32767 I python  : testing python print redirection
02-16 05:11:00.105 32703 32767 I python  : Android path ['.', '/data/user/0/working.org.working/files/app/_python_bundle/stdlib.zip', '/data/user/0/working.org.working/files/app/_python_bundle/modules', '/data/user/0/working.org.working/files/app/_python_bundle/site-packages']
02-16 05:11:00.106 32703 32767 I python  : os.environ is environ({'PATH': '/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin', 'ANDROID_BOOTLOGO': '1', 'ANDROID_ROOT': '/system', 'ANDROID_ASSETS': '/system/app', 'ANDROID_DATA': '/data', 'ANDROID_STORAGE': '/storage', 'ANDROID_ART_ROOT': '/apex/com.android.art', 'ANDROID_I18N_ROOT': '/apex/com.android.i18n', 'ANDROID_TZDATA_ROOT': '/apex/com.android.tzdata', 'EXTERNAL_STORAGE': '/sdcard', 'ASEC_MOUNTPOINT': '/mnt/asec', 'DOWNLOAD_CACHE': '/data/cache', 'BOOTCLASSPATH': '/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/tcmiface.jar:/system/framework/telephony-ext.jar:/system/framework/qcom.fmradio.jar:/system/framework/QPerformance.jar:/system/framework/UxPerformance.jar:/system/framework/WfdCommon.jar:/system_ext/framework/miui-framework.jar:/system_ext/framework/miui-telephony-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar:/apex/com.android.adservices/javalib/framework-adservices.jar:/apex/com.android.adservices/javalib/framework-sdksandbox.jar:/apex/com.android.appsearch/javalib/framework-appsearch.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.ipsec/javalib/android.net.ipsec.ike.jar:/apex/com.android.media/javalib/updatable-media.jar:/apex/com.android.mediaprovider/javalib/framework-mediaprovider.jar:/apex/com.android.ondevicepersonalization/javalib/framework-ondevicepersonalization.jar:/apex/com.android.os.statsd/javalib/framework-statsd.jar:/apex/com.android.permission/javalib/framework-permission.jar:/apex/com.android.permission/javalib/framework-permission-s.jar:/apex/com.android.scheduling/javalib/framework-scheduling.jar:/apex/com.android.sdkext/javalib/framework-sdkextensions.jar:/apex/com.android.tethering/javalib/framework-connectivity.jar:/apex/com.android.tethering/javalib/framework-connectivity-t.jar:/apex/com.android.tethering/javalib/framework-tethering.jar:/apex/com.android.wifi/javalib/framework-wifi.jar', 'DEX2OATBOOTCLASSPATH': '/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/tcmiface.jar:/system/framework/telephony-ext.jar:/system/framework/qcom.fmradio.jar:/system/framework/QPerformance.jar:/system/framework/UxPerformance.jar:/system/framework/WfdCommon.jar:/system_ext/framework/miui-framework.jar:/system_ext/framework/miui-telephony-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar', 'SYSTEMSERVERCLASSPATH': '/system/framework/com.android.location.provider.jar:/system/framework/services.jar:/system_ext/framework/miui-services.jar:/system_ext/framework/miui.services.jar:/apex/com.android.adservices/javalib/service-adservices.jar:/apex/com.android.adservices/javalib/service-sdksandbox.jar:/apex/com.android.appsearch/javalib/service-appsearch.jar:/apex/com.android.art/javalib/service-art.jar:/apex/com.android.media/javalib/service-media-s.jar:/apex/com.android.permission/javalib/service-permission.jar', 'STANDALONE_SYSTEMSERVER_JARS': '/apex/com.android.os.statsd/javalib/service-statsd.jar:/apex/com.android.scheduling/javalib/service-scheduling.jar:/apex/com.android.tethering/javalib/service-connectivity.jar:/apex/com.android.wifi/javalib/service-wifi.jar', 'ANDROID_SOCKET_zygote': '22', 'ANDROID_SOCKET_usap_pool_primary': '23', 'TMPDIR': '/data/us
02-16 05:11:00.106 32703 32767 I python  : Android kivy bootstrap done. __name__ is __main__
02-16 05:11:00.106 32703 32767 I python  : AND: Ran string
02-16 05:11:00.106 32703 32767 I python  : Run user program, change dir and execute entrypoint
02-16 05:11:00.258 32703 32767 I python  : [INFO   ] [Logger      ] Record log in /data/user/0/working.org.working/files/app/.kivy/logs/kivy_23-02-16_0.txt
02-16 05:11:00.258 32703 32767 I python  : [INFO   ] [Kivy        ] v2.1.0
02-16 05:11:00.258 32703 32767 I python  : [INFO   ] [Kivy        ] Installed at "/data/user/0/working.org.working/files/app/_python_bundle/site-packages/kivy/__init__.pyc"
02-16 05:11:00.258 32703 32767 I python  : [INFO   ] [Python      ] v3.9.9 (main, Feb 14 2023, 21:23:26)
02-16 05:11:00.258 32703 32767 I python  : [Clang 14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb
02-16 05:11:00.258 32703 32767 I python  : [INFO   ] [Python      ] Interpreter at ""
02-16 05:11:00.259 32703 32767 I python  : [INFO   ] [Logger      ] Purge log fired. Processing...
02-16 05:11:00.264 32703 32767 I python  : [INFO   ] [Logger      ] Purge finished!
02-16 05:11:00.268 32703 32767 I python  : [INFO   ] [Factory     ] 189 symbols loaded
02-16 05:11:00.835 32703 32767 I python  : [INFO   ] [KivyMD      ] 1.1.1, git-Unknown, 2023-02-14 (installed at "/data/user/0/working.org.working/files/app/_python_bundle/site-packages/kivymd/__init__.pyc")
02-16 05:11:00.891 32703 32767 I python  : [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
02-16 05:11:00.928 32703 32767 I python  : [INFO   ] [Text        ] Provider: sdl2
02-16 05:11:00.980 32703 32767 I python  : [INFO   ] [Window      ] Provider: sdl2
02-16 05:11:00.998 32703 32767 I python  : [INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
02-16 05:11:01.002 32703 32767 I python  : [INFO   ] [GL          ] Backend used <sdl2>
02-16 05:11:01.002 32703 32767 I python  : [INFO   ] [GL          ] OpenGL version <b'OpenGL ES 3.2 V@0530.0 (GIT@8382da08aa, I139f36ad46, 1645197494) (Date:02/18/22)'>
02-16 05:11:01.002 32703 32767 I python  : [INFO   ] [GL          ] OpenGL vendor <b'Qualcomm'>
02-16 05:11:01.002 32703 32767 I python  : [INFO   ] [GL          ] OpenGL renderer <b'Adreno (TM) 642L'>
02-16 05:11:01.002 32703 32767 I python  : [INFO   ] [GL          ] OpenGL parsed version: 3, 2
02-16 05:11:01.003 32703 32767 I python  : [INFO   ] [GL          ] Texture max size <16384>
02-16 05:11:01.003 32703 32767 I python  : [INFO   ] [GL          ] Texture max units <16>
02-16 05:11:01.026 32703 32767 I python  : [INFO   ] [Window      ] auto add sdl2 input provider
02-16 05:11:01.027 32703 32767 I python  : [INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
02-16 05:11:01.283 32703 32767 I python  : [WARNING] [Base        ] Unknown <android> provider
02-16 05:11:01.284 32703 32767 I python  : [INFO   ] [Base        ] Start application main loop
02-16 05:11:01.316 32703 32767 I python  : [INFO   ] [GL          ] NPOT texture support is available
02-16 05:11:56.658  2695  2743 I python  : Initializing Python for Android
02-16 05:11:56.658  2695  2743 I python  : Setting additional env vars from p4a_env_vars.txt
02-16 05:11:56.658  2695  2743 I python  : Changing directory to the one provided by ANDROID_ARGUMENT
02-16 05:11:56.658  2695  2743 I python  : /data/user/0/working.org.working/files/app
02-16 05:11:56.658  2695  2743 I python  : Preparing to initialize python
02-16 05:11:56.658  2695  2743 I python  : _python_bundle dir exists
02-16 05:11:56.658  2695  2743 I python  : calculated paths to be...
02-16 05:11:56.658  2695  2743 I python  : /data/user/0/working.org.working/files/app/_python_bundle/stdlib.zip:/data/user/0/working.org.working/files/app/_python_bundle/modules
02-16 05:11:56.658  2695  2743 I python  : set wchar paths...
02-16 05:11:56.683  2695  2743 I python  : Initialized python
02-16 05:11:56.683  2695  2743 I python  : AND: Init threads
02-16 05:11:56.684  2695  2743 I python  : testing python print redirection
02-16 05:11:56.685  2695  2743 I python  : Android path ['.', '/data/user/0/working.org.working/files/app/_python_bundle/stdlib.zip', '/data/user/0/working.org.working/files/app/_python_bundle/modules', '/data/user/0/working.org.working/files/app/_python_bundle/site-packages']
02-16 05:11:56.686  2695  2743 I python  : os.environ is environ({'PATH': '/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin', 'ANDROID_BOOTLOGO': '1', 'ANDROID_ROOT': '/system', 'ANDROID_ASSETS': '/system/app', 'ANDROID_DATA': '/data', 'ANDROID_STORAGE': '/storage', 'ANDROID_ART_ROOT': '/apex/com.android.art', 'ANDROID_I18N_ROOT': '/apex/com.android.i18n', 'ANDROID_TZDATA_ROOT': '/apex/com.android.tzdata', 'EXTERNAL_STORAGE': '/sdcard', 'ASEC_MOUNTPOINT': '/mnt/asec', 'DOWNLOAD_CACHE': '/data/cache', 'BOOTCLASSPATH': '/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/tcmiface.jar:/system/framework/telephony-ext.jar:/system/framework/qcom.fmradio.jar:/system/framework/QPerformance.jar:/system/framework/UxPerformance.jar:/system/framework/WfdCommon.jar:/system_ext/framework/miui-framework.jar:/system_ext/framework/miui-telephony-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar:/apex/com.android.adservices/javalib/framework-adservices.jar:/apex/com.android.adservices/javalib/framework-sdksandbox.jar:/apex/com.android.appsearch/javalib/framework-appsearch.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.ipsec/javalib/android.net.ipsec.ike.jar:/apex/com.android.media/javalib/updatable-media.jar:/apex/com.android.mediaprovider/javalib/framework-mediaprovider.jar:/apex/com.android.ondevicepersonalization/javalib/framework-ondevicepersonalization.jar:/apex/com.android.os.statsd/javalib/framework-statsd.jar:/apex/com.android.permission/javalib/framework-permission.jar:/apex/com.android.permission/javalib/framework-permission-s.jar:/apex/com.android.scheduling/javalib/framework-scheduling.jar:/apex/com.android.sdkext/javalib/framework-sdkextensions.jar:/apex/com.android.tethering/javalib/framework-connectivity.jar:/apex/com.android.tethering/javalib/framework-connectivity-t.jar:/apex/com.android.tethering/javalib/framework-tethering.jar:/apex/com.android.wifi/javalib/framework-wifi.jar', 'DEX2OATBOOTCLASSPATH': '/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/tcmiface.jar:/system/framework/telephony-ext.jar:/system/framework/qcom.fmradio.jar:/system/framework/QPerformance.jar:/system/framework/UxPerformance.jar:/system/framework/WfdCommon.jar:/system_ext/framework/miui-framework.jar:/system_ext/framework/miui-telephony-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar', 'SYSTEMSERVERCLASSPATH': '/system/framework/com.android.location.provider.jar:/system/framework/services.jar:/system_ext/framework/miui-services.jar:/system_ext/framework/miui.services.jar:/apex/com.android.adservices/javalib/service-adservices.jar:/apex/com.android.adservices/javalib/service-sdksandbox.jar:/apex/com.android.appsearch/javalib/service-appsearch.jar:/apex/com.android.art/javalib/service-art.jar:/apex/com.android.media/javalib/service-media-s.jar:/apex/com.android.permission/javalib/service-permission.jar', 'STANDALONE_SYSTEMSERVER_JARS': '/apex/com.android.os.statsd/javalib/service-statsd.jar:/apex/com.android.scheduling/javalib/service-scheduling.jar:/apex/com.android.tethering/javalib/service-connectivity.jar:/apex/com.android.wifi/javalib/service-wifi.jar', 'ANDROID_SOCKET_zygote': '22', 'ANDROID_SOCKET_usap_pool_primary': '23', 'TMPDIR': '/data/us
02-16 05:11:56.686  2695  2743 I python  : Android kivy bootstrap done. __name__ is __main__
02-16 05:11:56.686  2695  2743 I python  : AND: Ran string
02-16 05:11:56.686  2695  2743 I python  : Run user program, change dir and execute entrypoint
02-16 05:11:56.785  2695  2743 I python  : [INFO   ] [Logger      ] Record log in /data/user/0/working.org.working/files/app/.kivy/logs/kivy_23-02-16_1.txt
02-16 05:11:56.785  2695  2743 I python  : [INFO   ] [Kivy        ] v2.1.0
02-16 05:11:56.785  2695  2743 I python  : [INFO   ] [Kivy        ] Installed at "/data/user/0/working.org.working/files/app/_python_bundle/site-packages/kivy/__init__.pyc"
02-16 05:11:56.785  2695  2743 I python  : [INFO   ] [Python      ] v3.9.9 (main, Feb 14 2023, 21:23:26)
02-16 05:11:56.785  2695  2743 I python  : [Clang 14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb
02-16 05:11:56.785  2695  2743 I python  : [INFO   ] [Python      ] Interpreter at ""
02-16 05:11:56.786  2695  2743 I python  : [INFO   ] [Logger      ] Purge log fired. Processing...
02-16 05:11:56.786  2695  2743 I python  : [INFO   ] [Logger      ] Purge finished!
02-16 05:11:56.788  2695  2743 I python  : [INFO   ] [Factory     ] 189 symbols loaded
02-16 05:11:57.304  2695  2743 I python  : [INFO   ] [KivyMD      ] 1.1.1, git-Unknown, 2023-02-14 (installed at "/data/user/0/working.org.working/files/app/_python_bundle/site-packages/kivymd/__init__.pyc")
02-16 05:11:57.333  2695  2743 I python  : [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
02-16 05:11:57.349  2695  2743 I python  : [INFO   ] [Text        ] Provider: sdl2
02-16 05:11:57.372  2695  2743 I python  : [INFO   ] [Window      ] Provider: sdl2
02-16 05:11:57.386  2695  2743 I python  : [INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
02-16 05:11:57.388  2695  2743 I python  : [INFO   ] [GL          ] Backend used <sdl2>
02-16 05:11:57.389  2695  2743 I python  : [INFO   ] [GL          ] OpenGL version <b'OpenGL ES 3.2 V@0530.0 (GIT@8382da08aa, I139f36ad46, 1645197494) (Date:02/18/22)'>
02-16 05:11:57.389  2695  2743 I python  : [INFO   ] [GL          ] OpenGL vendor <b'Qualcomm'>
02-16 05:11:57.389  2695  2743 I python  : [INFO   ] [GL          ] OpenGL renderer <b'Adreno (TM) 642L'>
02-16 05:11:57.389  2695  2743 I python  : [INFO   ] [GL          ] OpenGL parsed version: 3, 2
02-16 05:11:57.389  2695  2743 I python  : [INFO   ] [GL          ] Texture max size <16384>
02-16 05:11:57.389  2695  2743 I python  : [INFO   ] [GL          ] Texture max units <16>
02-16 05:11:57.411  2695  2743 I python  : [INFO   ] [Window      ] auto add sdl2 input provider
02-16 05:11:57.412  2695  2743 I python  : [INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
02-16 05:11:57.611  2695  2743 I python  : [WARNING] [Base        ] Unknown <android> provider
02-16 05:11:57.612  2695  2743 I python  : [INFO   ] [Base        ] Start application main loop
02-16 05:11:57.627  2695  2743 I python  : [INFO   ] [GL          ] NPOT texture support is available
02-16 05:12:01.139  2844  2883 I python  : Initializing Python for Android
02-16 05:12:01.139  2844  2883 I python  : Setting additional env vars from p4a_env_vars.txt
02-16 05:12:01.139  2844  2883 I python  : Changing directory to the one provided by ANDROID_ARGUMENT
02-16 05:12:01.139  2844  2883 I python  : /data/user/0/working.org.working/files/app
02-16 05:12:01.139  2844  2883 I python  : Preparing to initialize python
02-16 05:12:01.139  2844  2883 I python  : _python_bundle dir exists
02-16 05:12:01.139  2844  2883 I python  : calculated paths to be...
02-16 05:12:01.139  2844  2883 I python  : /data/user/0/working.org.working/files/app/_python_bundle/stdlib.zip:/data/user/0/working.org.working/files/app/_python_bundle/modules
02-16 05:12:01.139  2844  2883 I python  : set wchar paths...
02-16 05:12:01.162  2844  2883 I python  : Initialized python
02-16 05:12:01.162  2844  2883 I python  : AND: Init threads
02-16 05:12:01.163  2844  2883 I python  : testing python print redirection
02-16 05:12:01.163  2844  2883 I python  : Android path ['.', '/data/user/0/working.org.working/files/app/_python_bundle/stdlib.zip', '/data/user/0/working.org.working/files/app/_python_bundle/modules', '/data/user/0/working.org.working/files/app/_python_bundle/site-packages']
02-16 05:12:01.163  2844  2883 I python  : os.environ is environ({'PATH': '/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin', 'ANDROID_BOOTLOGO': '1', 'ANDROID_ROOT': '/system', 'ANDROID_ASSETS': '/system/app', 'ANDROID_DATA': '/data', 'ANDROID_STORAGE': '/storage', 'ANDROID_ART_ROOT': '/apex/com.android.art', 'ANDROID_I18N_ROOT': '/apex/com.android.i18n', 'ANDROID_TZDATA_ROOT': '/apex/com.android.tzdata', 'EXTERNAL_STORAGE': '/sdcard', 'ASEC_MOUNTPOINT': '/mnt/asec', 'DOWNLOAD_CACHE': '/data/cache', 'BOOTCLASSPATH': '/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/tcmiface.jar:/system/framework/telephony-ext.jar:/system/framework/qcom.fmradio.jar:/system/framework/QPerformance.jar:/system/framework/UxPerformance.jar:/system/framework/WfdCommon.jar:/system_ext/framework/miui-framework.jar:/system_ext/framework/miui-telephony-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar:/apex/com.android.adservices/javalib/framework-adservices.jar:/apex/com.android.adservices/javalib/framework-sdksandbox.jar:/apex/com.android.appsearch/javalib/framework-appsearch.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.ipsec/javalib/android.net.ipsec.ike.jar:/apex/com.android.media/javalib/updatable-media.jar:/apex/com.android.mediaprovider/javalib/framework-mediaprovider.jar:/apex/com.android.ondevicepersonalization/javalib/framework-ondevicepersonalization.jar:/apex/com.android.os.statsd/javalib/framework-statsd.jar:/apex/com.android.permission/javalib/framework-permission.jar:/apex/com.android.permission/javalib/framework-permission-s.jar:/apex/com.android.scheduling/javalib/framework-scheduling.jar:/apex/com.android.sdkext/javalib/framework-sdkextensions.jar:/apex/com.android.tethering/javalib/framework-connectivity.jar:/apex/com.android.tethering/javalib/framework-connectivity-t.jar:/apex/com.android.tethering/javalib/framework-tethering.jar:/apex/com.android.wifi/javalib/framework-wifi.jar', 'DEX2OATBOOTCLASSPATH': '/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/tcmiface.jar:/system/framework/telephony-ext.jar:/system/framework/qcom.fmradio.jar:/system/framework/QPerformance.jar:/system/framework/UxPerformance.jar:/system/framework/WfdCommon.jar:/system_ext/framework/miui-framework.jar:/system_ext/framework/miui-telephony-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar', 'SYSTEMSERVERCLASSPATH': '/system/framework/com.android.location.provider.jar:/system/framework/services.jar:/system_ext/framework/miui-services.jar:/system_ext/framework/miui.services.jar:/apex/com.android.adservices/javalib/service-adservices.jar:/apex/com.android.adservices/javalib/service-sdksandbox.jar:/apex/com.android.appsearch/javalib/service-appsearch.jar:/apex/com.android.art/javalib/service-art.jar:/apex/com.android.media/javalib/service-media-s.jar:/apex/com.android.permission/javalib/service-permission.jar', 'STANDALONE_SYSTEMSERVER_JARS': '/apex/com.android.os.statsd/javalib/service-statsd.jar:/apex/com.android.scheduling/javalib/service-scheduling.jar:/apex/com.android.tethering/javalib/service-connectivity.jar:/apex/com.android.wifi/javalib/service-wifi.jar', 'ANDROID_SOCKET_zygote': '22', 'ANDROID_SOCKET_usap_pool_primary': '23', 'TMPDIR': '/data/us
02-16 05:12:01.163  2844  2883 I python  : Android kivy bootstrap done. __name__ is __main__
02-16 05:12:01.163  2844  2883 I python  : AND: Ran string
02-16 05:12:01.163  2844  2883 I python  : Run user program, change dir and execute entrypoint
02-16 05:12:01.254  2844  2883 I python  : [INFO   ] [Logger      ] Record log in /data/user/0/working.org.working/files/app/.kivy/logs/kivy_23-02-16_2.txt
02-16 05:12:01.254  2844  2883 I python  : [INFO   ] [Kivy        ] v2.1.0
02-16 05:12:01.254  2844  2883 I python  : [INFO   ] [Kivy        ] Installed at "/data/user/0/working.org.working/files/app/_python_bundle/site-packages/kivy/__init__.pyc"
02-16 05:12:01.254  2844  2883 I python  : [INFO   ] [Python      ] v3.9.9 (main, Feb 14 2023, 21:23:26)
02-16 05:12:01.254  2844  2883 I python  : [Clang 14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb
02-16 05:12:01.254  2844  2883 I python  : [INFO   ] [Python      ] Interpreter at ""
02-16 05:12:01.254  2844  2883 I python  : [INFO   ] [Logger      ] Purge log fired. Processing...
02-16 05:12:01.255  2844  2883 I python  : [INFO   ] [Logger      ] Purge finished!
02-16 05:12:01.257  2844  2883 I python  : [INFO   ] [Factory     ] 189 symbols loaded
02-16 05:12:01.767  2844  2883 I python  : [INFO   ] [KivyMD      ] 1.1.1, git-Unknown, 2023-02-14 (installed at "/data/user/0/working.org.working/files/app/_python_bundle/site-packages/kivymd/__init__.pyc")
02-16 05:12:01.797  2844  2883 I python  : [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
02-16 05:12:01.809  2844  2883 I python  : [INFO   ] [Text        ] Provider: sdl2
02-16 05:12:01.828  2844  2883 I python  : [INFO   ] [Window      ] Provider: sdl2
02-16 05:12:01.842  2844  2883 I python  : [INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
02-16 05:12:01.847  2844  2883 I python  : [INFO   ] [GL          ] Backend used <sdl2>
02-16 05:12:01.847  2844  2883 I python  : [INFO   ] [GL          ] OpenGL version <b'OpenGL ES 3.2 V@0530.0 (GIT@8382da08aa, I139f36ad46, 1645197494) (Date:02/18/22)'>
02-16 05:12:01.847  2844  2883 I python  : [INFO   ] [GL          ] OpenGL vendor <b'Qualcomm'>
02-16 05:12:01.848  2844  2883 I python  : [INFO   ] [GL          ] OpenGL renderer <b'Adreno (TM) 642L'>
02-16 05:12:01.848  2844  2883 I python  : [INFO   ] [GL          ] OpenGL parsed version: 3, 2
02-16 05:12:01.848  2844  2883 I python  : [INFO   ] [GL          ] Texture max size <16384>
02-16 05:12:01.848  2844  2883 I python  : [INFO   ] [GL          ] Texture max units <16>
02-16 05:12:01.870  2844  2883 I python  : [INFO   ] [Window      ] auto add sdl2 input provider
02-16 05:12:01.871  2844  2883 I python  : [INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
02-16 05:12:02.067  2844  2883 I python  : [WARNING] [Base        ] Unknown <android> provider
02-16 05:12:02.067  2844  2883 I python  : [INFO   ] [Base        ] Start application main loop
02-16 05:12:02.082  2844  2883 I python  : [INFO   ] [GL          ] NPOT texture support is available
02-16 05:14:08.337  4770  4843 I python  : Initializing Python for Android
02-16 05:14:08.337  4770  4843 I python  : Setting additional env vars from p4a_env_vars.txt
02-16 05:14:08.337  4770  4843 I python  : Changing directory to the one provided by ANDROID_ARGUMENT
02-16 05:14:08.337  4770  4843 I python  : /data/user/0/working.org.working/files/app
02-16 05:14:08.337  4770  4843 I python  : Preparing to initialize python
02-16 05:14:08.337  4770  4843 I python  : _python_bundle dir exists
02-16 05:14:08.337  4770  4843 I python  : calculated paths to be...
02-16 05:14:08.337  4770  4843 I python  : /data/user/0/working.org.working/files/app/_python_bundle/stdlib.zip:/data/user/0/working.org.working/files/app/_python_bundle/modules
02-16 05:14:08.337  4770  4843 I python  : set wchar paths...
02-16 05:14:08.362  4770  4843 I python  : Initialized python
02-16 05:14:08.362  4770  4843 I python  : AND: Init threads
02-16 05:14:08.363  4770  4843 I python  : testing python print redirection
02-16 05:14:08.363  4770  4843 I python  : Android path ['.', '/data/user/0/working.org.working/files/app/_python_bundle/stdlib.zip', '/data/user/0/working.org.working/files/app/_python_bundle/modules', '/data/user/0/working.org.working/files/app/_python_bundle/site-packages']
02-16 05:14:08.363  4770  4843 I python  : os.environ is environ({'PATH': '/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin', 'ANDROID_BOOTLOGO': '1', 'ANDROID_ROOT': '/system', 'ANDROID_ASSETS': '/system/app', 'ANDROID_DATA': '/data', 'ANDROID_STORAGE': '/storage', 'ANDROID_ART_ROOT': '/apex/com.android.art', 'ANDROID_I18N_ROOT': '/apex/com.android.i18n', 'ANDROID_TZDATA_ROOT': '/apex/com.android.tzdata', 'EXTERNAL_STORAGE': '/sdcard', 'ASEC_MOUNTPOINT': '/mnt/asec', 'DOWNLOAD_CACHE': '/data/cache', 'BOOTCLASSPATH': '/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/tcmiface.jar:/system/framework/telephony-ext.jar:/system/framework/qcom.fmradio.jar:/system/framework/QPerformance.jar:/system/framework/UxPerformance.jar:/system/framework/WfdCommon.jar:/system_ext/framework/miui-framework.jar:/system_ext/framework/miui-telephony-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar:/apex/com.android.adservices/javalib/framework-adservices.jar:/apex/com.android.adservices/javalib/framework-sdksandbox.jar:/apex/com.android.appsearch/javalib/framework-appsearch.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.ipsec/javalib/android.net.ipsec.ike.jar:/apex/com.android.media/javalib/updatable-media.jar:/apex/com.android.mediaprovider/javalib/framework-mediaprovider.jar:/apex/com.android.ondevicepersonalization/javalib/framework-ondevicepersonalization.jar:/apex/com.android.os.statsd/javalib/framework-statsd.jar:/apex/com.android.permission/javalib/framework-permission.jar:/apex/com.android.permission/javalib/framework-permission-s.jar:/apex/com.android.scheduling/javalib/framework-scheduling.jar:/apex/com.android.sdkext/javalib/framework-sdkextensions.jar:/apex/com.android.tethering/javalib/framework-connectivity.jar:/apex/com.android.tethering/javalib/framework-connectivity-t.jar:/apex/com.android.tethering/javalib/framework-tethering.jar:/apex/com.android.wifi/javalib/framework-wifi.jar', 'DEX2OATBOOTCLASSPATH': '/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/tcmiface.jar:/system/framework/telephony-ext.jar:/system/framework/qcom.fmradio.jar:/system/framework/QPerformance.jar:/system/framework/UxPerformance.jar:/system/framework/WfdCommon.jar:/system_ext/framework/miui-framework.jar:/system_ext/framework/miui-telephony-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar', 'SYSTEMSERVERCLASSPATH': '/system/framework/com.android.location.provider.jar:/system/framework/services.jar:/system_ext/framework/miui-services.jar:/system_ext/framework/miui.services.jar:/apex/com.android.adservices/javalib/service-adservices.jar:/apex/com.android.adservices/javalib/service-sdksandbox.jar:/apex/com.android.appsearch/javalib/service-appsearch.jar:/apex/com.android.art/javalib/service-art.jar:/apex/com.android.media/javalib/service-media-s.jar:/apex/com.android.permission/javalib/service-permission.jar', 'STANDALONE_SYSTEMSERVER_JARS': '/apex/com.android.os.statsd/javalib/service-statsd.jar:/apex/com.android.scheduling/javalib/service-scheduling.jar:/apex/com.android.tethering/javalib/service-connectivity.jar:/apex/com.android.wifi/javalib/service-wifi.jar', 'ANDROID_SOCKET_zygote': '22', 'ANDROID_SOCKET_usap_pool_primary': '23', 'TMPDIR': '/data/us
02-16 05:14:08.364  4770  4843 I python  : Android kivy bootstrap done. __name__ is __main__
02-16 05:14:08.364  4770  4843 I python  : AND: Ran string
02-16 05:14:08.364  4770  4843 I python  : Run user program, change dir and execute entrypoint
02-16 05:14:08.463  4770  4843 I python  : [INFO   ] [Logger      ] Record log in /data/user/0/working.org.working/files/app/.kivy/logs/kivy_23-02-16_3.txt
02-16 05:14:08.463  4770  4843 I python  : [INFO   ] [Kivy        ] v2.1.0
02-16 05:14:08.463  4770  4843 I python  : [INFO   ] [Kivy        ] Installed at "/data/user/0/working.org.working/files/app/_python_bundle/site-packages/kivy/__init__.pyc"
02-16 05:14:08.463  4770  4843 I python  : [INFO   ] [Python      ] v3.9.9 (main, Feb 14 2023, 21:23:26)
02-16 05:14:08.463  4770  4843 I python  : [Clang 14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb
02-16 05:14:08.464  4770  4843 I python  : [INFO   ] [Python      ] Interpreter at ""
02-16 05:14:08.464  4770  4843 I python  : [INFO   ] [Logger      ] Purge log fired. Processing...
02-16 05:14:08.465  4770  4843 I python  : [INFO   ] [Logger      ] Purge finished!
02-16 05:14:08.467  4770  4843 I python  : [INFO   ] [Factory     ] 189 symbols loaded
02-16 05:14:09.011  4770  4843 I python  : [INFO   ] [KivyMD      ] 1.1.1, git-Unknown, 2023-02-14 (installed at "/data/user/0/working.org.working/files/app/_python_bundle/site-packages/kivymd/__init__.pyc")
02-16 05:14:09.045  4770  4843 I python  : [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
02-16 05:14:09.060  4770  4843 I python  : [INFO   ] [Text        ] Provider: sdl2
02-16 05:14:09.081  4770  4843 I python  : [INFO   ] [Window      ] Provider: sdl2
02-16 05:14:09.101  4770  4843 I python  : [INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
02-16 05:14:09.104  4770  4843 I python  : [INFO   ] [GL          ] Backend used <sdl2>
02-16 05:14:09.104  4770  4843 I python  : [INFO   ] [GL          ] OpenGL version <b'OpenGL ES 3.2 V@0530.0 (GIT@8382da08aa, I139f36ad46, 1645197494) (Date:02/18/22)'>
02-16 05:14:09.104  4770  4843 I python  : [INFO   ] [GL          ] OpenGL vendor <b'Qualcomm'>
02-16 05:14:09.104  4770  4843 I python  : [INFO   ] [GL          ] OpenGL renderer <b'Adreno (TM) 642L'>
02-16 05:14:09.104  4770  4843 I python  : [INFO   ] [GL          ] OpenGL parsed version: 3, 2
02-16 05:14:09.104  4770  4843 I python  : [INFO   ] [GL          ] Texture max size <16384>
02-16 05:14:09.105  4770  4843 I python  : [INFO   ] [GL          ] Texture max units <16>
02-16 05:14:09.128  4770  4843 I python  : [INFO   ] [Window      ] auto add sdl2 input provider
02-16 05:14:09.129  4770  4843 I python  : [INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
02-16 05:14:09.336  4770  4843 I python  : [WARNING] [Base        ] Unknown <android> provider
02-16 05:14:09.337  4770  4843 I python  : [INFO   ] [Base        ] Start application main loop
02-16 05:14:09.355  4770  4843 I python  : [INFO   ] [GL          ] NPOT texture support is available
RobertFlatt commented 1 year ago

Sorry I don't understand, what is the error you see in that log?

And you still didn't tell me what is the issue you actually see using the app.

thiva7 commented 1 year ago

Hmm? I have write the issue in my first post of issue I have issue with exporting my app to android Api 33, is working on every android 12 ( 32) but not in 13 (33).

The app not working on Android 13. The app is installed on phone but after splash screen is keep closing. The same apk on lower than Android 13 is working with no issue

RobertFlatt commented 1 year ago

after splash screen is keep closing.

Important information, thank you.

1) Post the full unfiltered log showing the Android messages as well as the Python messages (as a .txt file if it is easier for you).

2) Is your app pure Python, or does it use some Android features (permissions, Java code,....) ?

Please respond to both.

thiva7 commented 1 year ago
  1. You mean full log of this command? adb logcat -s "python" If this what you mean is unfiltered... Each time I starting the app is showing the same log each time.
  2. No special permission, I would mention it in first message. Is a simple demo app that have 1 button on click open date picker and based on selected date show of is working weekend or not. So nothing special have been added to code. I can share if you ask for
RobertFlatt commented 1 year ago

You mean full log of this command? adb logcat -s "python"

use adb logcat (it will be big)

So nothing special have been added to code.

OK,

Lets see what is in the unfiltered log.

thiva7 commented 1 year ago

mylog.txt Command:

adb logcat > mylog.txt

to able to give more infos to help i try android studio emulator with android 13

the message that got when try to install

Failed to commit install session 702294568 with command cmd package install-commit 702294568. Error: INSTALL_FAILED_NO_MATCHING_ABIS: INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113

To make sure that is not my code issue i share my app code as well

import datetime
from kivy.lang import Builder
from kivymd.app import MDApp
from kivymd.uix.pickers import MDDatePicker

def generate_schedule(start_date):
    # Convert start date string to datetime object
    start_date = datetime.datetime.strptime(start_date, '%d-%m-%Y')

    # Initialize a list to hold the schedule
    schedule = []

    # Initialize a counter for the number of weeks
    week_counter = 0

    # Loop through each day of the year
    for i in range(365):
        # Calculate the current date
        current_date = start_date + datetime.timedelta(days=i)

        # Check if the current date is a weekend day
        if current_date.weekday() == 5 or current_date.weekday() == 6:
            # Check if the current week is a working week
            if week_counter % 2 == 0:
                # Add the weekend to the schedule
                schedule.append((current_date.strftime('%d-%m-%Y'), 'Δουλέυεις'))
            else:
                # Add the weekend to the schedule
                schedule.append((current_date.strftime('%d-%m-%Y'), 'Δέν Δουλέυεις'))

            # Increment the week counter every 14 days
            if current_date.weekday() == 6:
                week_counter += 1

    return schedule

def main(ask_date):
    # Example usage
    start_date = '04-02-2023'
    schedule = generate_schedule(start_date)
    # ask_date = '20-05-2023'
    for day, status in schedule:
        if day == ask_date:
            return (status)

KV = '''
MDFloatLayout:
    MDRaisedButton:
        text: "Διάλεξε Ημερομηνία"
        pos_hint: {'center_x': .5, 'center_y': .5}
        on_release: app.show_date_picker()
    # add a label to display the selected date
    MDLabel:
        id: date_label
        text: ""
        pos_hint: {'center_x': .7, 'center_y': .2}

'''

class WorkingCalendar(MDApp):
    def build(self):
        return Builder.load_string(KV)

    def on_save(self, instance, value, date_range):
        '''
        Events called when the "OK" dialog box button is clicked.

        :type instance: <kivymd.uix.picker.MDDatePicker object>;

        :param value: selected date;
        :type value: <class 'datetime.date'>;

        :param date_range: list of 'datetime.date' objects in the selected range;
        :type date_range: <class 'list'>;
        '''
        # convert value to greek date format and print it
        value = (value.strftime("%d-%m-%Y"))
        status = main(str(value))
        # change  self.root.ids.date_label color to red
        if status == 'Δουλέυεις':
            self.root.ids.date_label.color = 1, 0, 0, 1
        else:
            # change  self.root.ids.date_label color to black
            self.root.ids.date_label.color = 0, 0, 0, 1

        self.root.ids.date_label.text = value + " " + status

    def on_cancel(self, instance, value):
        '''Events called when the "CANCEL" dialog box button is clicked.'''

    def show_date_picker(self):
        date_dialog = MDDatePicker()
        date_dialog.bind(on_save=self.on_save, on_cancel=self.on_cancel)
        date_dialog.open()

WorkingCalendar().run()
RobertFlatt commented 1 year ago

INSTALL_FAILED_NO_MATCHING_ABIS

Due to: https://github.com/Android-for-Python/Android-for-Python-Users#androidarchs

Change that (and https://github.com/Android-for-Python/Android-for-Python-Users#changing-buildozerspec ) then try again. Share the new unfiltered log if there is still an issue,

(I see some other stuff in the log, but I don't know if it is an artifact of the above issue)

RobertFlatt commented 1 year ago

02-16 05:11:56.785 2695 2743 I python : [INFO ] [Kivy ] v2.1.0 ... 02-16 05:11:57.304 2695 2743 I python : [INFO ] [KivyMD ] 1.1.1, git-Unknown,

This is a known problem combination on certain Android devices, and unrelated to android.api = 33.

On the desktop with this combination you should have seen a message 'Kivy is too old' https://github.com/Android-for-Python/Android-for-Python-Users#kivy-is-too-old

Try as documented here https://github.com/kivymd/KivyMD/blob/master/README.md#how-to-fix-a-shader-bug-on-an-android-device

thiva7 commented 1 year ago

hey, what i have done so far

  1. changed in spec file
    android.archs = armeabi-v7a, arm64-v8a
    to
    android.archs = arm64-v8a

    and from

    requirements = python3, kivy==master, kivymd,pillow
    to
    requirements = python3, kivy==2.1.0, kivymd==1.1.1,pillow

    mylog.txt

RobertFlatt commented 1 year ago

The full log does not contain the Python log messages (it should), somehow what you are showing me is not the same as that shared in the first post.

changed in spec file

And did you get the INSTALL_FAILED_NO_MATCHING_ABIS message?

If that change helped great, but since there were previously two architectures it does not explain why you previously got the INSTALL_FAILED_NO_MATCHING_ABIS . Something is not the same.

requirements = python3, kivy==master, kivymd,pillow to requirements = python3, kivy==2.1.0, kivymd==1.1.1,pillow

Neither of those are the suggested combinations.

Try this first kivy, kivymd==1.0.2 and remember the buildozer appclean before the build

thiva7 commented 1 year ago

The full log does not contain the Python log messages (it should), somehow what you are showing me is not the same as that shared in the first post.

i stop it manually when txt file come close to 25mb cuz of limit , i can if you want to upload some other file host

And did you get the INSTALL_FAILED_NO_MATCHING_ABIS message?

Nope.... in both archs did same in emulator

Neither of those are the suggested combinations.

in the link you send me saw this

How to use with Buildozer

requirements = kivy==2.1.0, kivymd==1.1.1

i am sorry i misunderstood

Trying this now kivy, kivymd==1.0.2

RobertFlatt commented 1 year ago

i stop it manually when txt file come close to 25mb cuz of limit , i can if you want to upload some other file host

The Python messages should be there before the crash shown in the log. But this may be explained by:

Nope.... in both archs did same in emulator

Perhaps you are using an x86 emulator? In which case everything so far is meaningless. https://github.com/Android-for-Python/Android-for-Python-Users#appendix-b--using-an-emulator

thiva7 commented 1 year ago

actually this make it work,

kivy, kivymd==1.0.2

Thank you very much for your help and the time you spent with my issue , but just to understand , why with older kivymd work on api 33?

RobertFlatt commented 1 year ago

Now try the other choice

kivy==master, https://github.com/kivymd/KivyMD/archive/master.zip

and remember the buildozer appclean before the build.

Tell me if it works, then I'll be able answer your question.

thiva7 commented 1 year ago

Now try the other choice

kivy==master, https://github.com/kivymd/KivyMD/archive/master.zip

and remember the buildozer appclean before the build.

Tell me if it works, then I'll be able answer your question.

Yep... Is working this too.,so what is the issue?

misl6 commented 1 year ago

The latest KivyMD version requires an unreleased version of Kivy, as it needs the BoxShadowfeature.

This is not related in any way to API 33. (Please @RobertFlatt correct me if I'm wrong)

github-actions[bot] commented 1 year ago

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