Questions tagged [p4a]

Links

22 questions
0
votes
0 answers

Pygame crashing on android when loading a file

This is my code https://raw.githubusercontent.com/T-Dynamos/Python-Games/master/Connected/main.py Here's repo https://github.com/T-Dynamos/Python-Games/tree/master/Connected This is logcat error: 2022-05-15 22:25:30.762 7724 7748…
T-Dynamos
  • 9
  • 3
0
votes
1 answer

Buildozer is building kivy each time though it has previously built dist

I am using buildozer with kivy and its process if downloading stuff build recipe for the arch reuse that dist for next distributions of apk but in my app im using garden flower zbarcam, im directly puttin gsource folder, but each gtime, buildozer…
0
votes
0 answers

How to install p4a and it's dependencies on windows

I am trying to install p4a but I don't know how to install its dependencies. It would be a great help if someone could tell me how to install it on windows.
0
votes
0 answers

What is the correct way to create permission in Android(Python for Android)?

I want to turn off/on wifi in Kivy App. For this work, I used: from wifidroid.wifi import WifiManager wifi = WifiManager() wifi.EnabledWifi(False) #True I also added permission in Buildozer.spec: android.permissions = CHANGE_WIFI_STATE,…
0
votes
1 answer

Buildozer and Python-for-Android

I created a Conda Environment on my Manjaro Linux system. As I develop a Kivy App and run it, it runs fine. Then when I go to compile it into an APK to run on my Android Tablet that's when I run into a strange problem. I can successfully create an…
0
votes
1 answer

What is the usage of blacklist.txt in pythonforandroid (p4a)?

In the documentation of pythonforandroid, at https://python-for-android.readthedocs.io/en/latest/buildoptions/, there is a build option described called blacklist. --blacklist: The path to a file containing blacklisted patterns that will be…
BLUC
  • 2,590
  • 2
  • 15
  • 24
0
votes
1 answer

Kivy android app crashes instantly when opened

I am trying to develop a simple app that uses google translate's API. The app builds and installs correctly, but when I open the app on my phone, it just crashes, without any kind of error message. This is my main.py file: import kivy from kivy.app…
Ciro García
  • 601
  • 5
  • 22
1
2