-
Notifications
You must be signed in to change notification settings - Fork 506
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
App Crashes whenever I open it on my phone #1841
Comments
Can you please add some logs to the report? (taken via |
Is wrong on a few levels. It should be |
To run the application directly on the phone you need to use the command "buildozer android debug deploy run" instead of "buldozer android debug" P.S. I noticed that in your buildozer.spec file, you have the orientation set to portrait. But in your code the dimensions are set for landscape. You might want to change the spec file to reflect that. Also, you might want to add pygame.FULLSCREEN as an argument in pygame.set_mode looks like this: screen = pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT), pygame.FULLSCREEN) I don't think either of those will fix the crashing problem, but it might help. |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have the means to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
Versions
Description
I am trying to build an APK using Buildozer for my game, but the APK crashes immediately upon opening on my phone. Additionally, I am unable to connect my phone to run the application directly, although all images and sound files are correctly placed.
buildozer.spec
Command:
Spec file:
Main.py
The text was updated successfully, but these errors were encountered: