Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kivy app doesnt start on android #1455

Closed
tct123 opened this issue Jul 8, 2022 · 2 comments
Closed

kivy app doesnt start on android #1455

tct123 opened this issue Jul 8, 2022 · 2 comments
Labels

Comments

@tct123
Copy link

tct123 commented Jul 8, 2022

I have a problem with buildozer. Every time I use the comand "buildozer android debug" and installing the apk file on my smartphone, it just shows the start screen of the app and than it crashes.

buildozer.spec file:

Link to buildozer.spec file

If I run the application on my Computer, it works. On my Computer I run Ubuntu 20.04.4 LTS 64 Bit. I downgraded buildozer from dev version to 1.3.0.

Thanks for helping.

Here is my log file: https://github.com/tct123/example-buildozer.spec/blob/main/my_log.txt

Versions

  • Python: 3.8.10
  • OS: Ubuntu 20.04.4 LTS 64 Bit
  • Buildozer: 1.3.0
@misl6
Copy link
Member

misl6 commented Jul 8, 2022

Hi @tct123!

07-05 20:06:45.835  6034  6317 I python  :  Traceback (most recent call last):
07-05 20:06:45.835  6034  6317 I python  :    File "/home/user/Dokumente/GitHub/maintitle/.buildozer/android/app/main.py", line 6, in <module>
07-05 20:06:45.836  6034  6317 I python  :    File "/home/user/Dokumente/GitHub/maintitle/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/fridgecheck/arm64-v8a/kivymd/uix/__init__.py", 
line 8, in <module>
07-05 20:06:45.836  1385  2330 D MotionRecognitionService: [SAR]  onReceive : ACTION_BATTERY_CHANGED, Plugged: 2
07-05 20:06:45.836  1385  2330 I MotionRecognitionService: [TA] In/out: true, curr state: 1
07-05 20:06:45.836  6034  6317 I python  :    File "/home/user/Dokumente/GitHub/maintitle/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/fridgecheck/arm64-v8a/kivymd/uix/behaviors/__in
it__.py", line 10, in <module>
07-05 20:06:45.836  2591  2591 D PowerUI.Notification: showChargingNotice oldChargingType : 1 currentChargingType : 1 oldChargingTime : 22394000 mChargingTime : 22394000
07-05 20:06:45.836  2591  2591 D PowerUI.Notification: There is no change about charging status, so return!
07-05 20:06:45.836  6034  6317 I python  :    File "/home/user/Dokumente/GitHub/maintitle/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/fridgecheck/arm64-v8a/kivymd/uix/behaviors/back
groundcolor_behavior.py", line 25, in <module>
07-05 20:06:45.836  2591  2591 D PowerUI : Battery swelling mode - priorBatterySwellingMode = 0 mBatterySwellingMode = 0 mBatteryStatus = 2
07-05 20:06:45.836  2591  2591 I PowerUI : mBatteryMiscEvent = 65536
07-05 20:06:45.836  6034  6317 I python  :    File "/home/user/Dokumente/GitHub/maintitle/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/fridgecheck/arm64-v8a/kivymd/uix/behaviors/elev
ation.py", line 364, in <module>
07-05 20:06:45.836  2591  2591 D KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED
07-05 20:06:45.837  6034  6317 I python  :  ModuleNotFoundError: No module named 'PIL'
07-05 20:06:45.837  6034  6317 I python  : Python for android ended.

Looks that Pillow is missing as a requirement in your buildozer.spec file, but is required by kivymd.

@misl6 misl6 added the support label Jul 8, 2022
@github-actions
Copy link

github-actions bot commented Jul 8, 2022

👋 @tct123, 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.

@github-actions github-actions bot closed this as completed Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants