Questions tagged [p4a]

Links

22 questions
7
votes
1 answer

How to create custom recipe for dlib library for p4a

The code below successfully creates libdlib.so and copies it to .buildozer/android/platform/build-armeabi-v7a/build/libs_collections//armeabi-v7a also this file is located in the apk itself along the path…
Ne1zvestnyj
  • 1,391
  • 1
  • 7
  • 25
5
votes
2 answers

How to build an .aab using Buildozer via Docker?

I have just seen that support for AAB files have just been introduced in Python for Android (p4a). Considering that, fom August 2021, new apps are required to publish with the Android App Bundle on Google Play, this is a crucial addition for any…
Vito Gentile
  • 13,336
  • 9
  • 61
  • 96
3
votes
1 answer

How do I deal with pause/resume methods in pygame?

I hope I can to the right place. I have produced a pygame app for android, however the p4a recipe does not include certain pygame-sdl methods such as APP_WILLENTERBACKGROUND or APP_DIDENTERFOREGROUND. When the app moves into the background (it…
3
votes
0 answers

How to create custom recipes for p4a in Python?

So I am trying to use the SpeechRecognition package with my Kivy app. I am using buildozer to build and deploy, but I need to create a custom recipe for the SpeechRecognition package. So far I have downloaded the p4a folder with all the recipes and…
lukasmvv
  • 31
  • 1
2
votes
0 answers

Android App via buildozer: requirements vs. recipes

i try to deploy an android app. I work with the kivy framework and buildozer in python. My issue is to include the pandas library. This is my simple and working test code: from kivy.app import App from kivy.uix.label import Label import…
Capa
  • 31
  • 6
2
votes
0 answers

Tensorflow recipe for p4a

I want to create an apk, using buildozer. In my app I have some tensorflow, opencv, and keras requirements. Since python for android don't have any recipe for tensorflow, so I have to create one private recipe. But I don't have any idea, how to…
1
vote
0 answers

unable to build FFmpeg in buildozer or p4a

[INFO]: Building ffmpeg for armeabi-v7a [INFO]: -> directory context /Users/suryaveda/PycharmProjects/music_app/.buildozer/android/platform/build-armeabi-v7a/build/other_builds/ffmpeg/armeabi-v7a__ndk_target_21/ffmpeg [INFO]: -> running…
1
vote
1 answer

Python for Android (p4a): How to pass arguments in a .p4a file

Instead of using Buildozer, I changed to P4a. Buildozer used the buildozer.spec for arguments and I'm assuming the .p4a is the equivalent of this. According to docs I stumbled across, I just add a .p4a to my project root and p4a will find it. What…
chitondihk
  • 105
  • 1
  • 10
1
vote
1 answer

How to convert kivy app to apk using p4a-build?

I have a full functional android app. I can run it on android phone using kivy launcher. Now, i want to convert it to apk. I read lot of tutorials but since i am on windows, this task seems impossible. I read about p4a-build and followed this…
Saurabh Shrivastava
  • 1,394
  • 4
  • 21
  • 50
0
votes
0 answers

Buildozer (No main.py(c) found in your app directory) but i have it inside the root folder

first post here on StackOverflow. I'm trying to build an android app with buildozer. It's primarily a web app made using Flask and Python, but when i try to build it i receive this error: WARNING: Received a --sdk argument, but this argument is…
Ponce
  • 1
  • 2
0
votes
0 answers

KIVY compile a project

I find a way on GitHub here : https://github.com/kivy/kivy/wiki/Starting-Kivy-App-and-Service-on-bootup-on-Android to do what I want. I follow all the steps and I just have a little question. How can I compile it. It is simply by running this…
pycode80
  • 1
  • 2
0
votes
1 answer

My APK crashes on Android build with buildozer

I developed my application with kivy and kivymd. And when I turned it into .apk it crashes suddenly after asking for permissions without any other error than [WARNING] [Base] Unknown provider. I have done several research especially on…
pycode80
  • 1
  • 2
0
votes
1 answer

p4a Cannot Import Module _ctypes

I am an extreme beginner with kivy and python-for-android. I've created a kivy tutorial app and have been trying to create the apk using p4a. I believe I've figured out the dependencies and command line requirements but I am currently stuck with a…
ACH
  • 1
  • 3
0
votes
0 answers

Python interpreter for Android

I am a intermediate python developer .I want to know how pydroid is able to run python on Android, I mean how pydroid's python interpreter works and is there a way we can create such interpreter and bind it with our gui program so that it runs on…
0
votes
0 answers

Perforce client error: Connection refused

So I had been successfully running Perforce on a dedicated Ubuntu 20.04 LTS cloud server for many months. I recently however moved to a different house and now I cannot connect to the server anymore through P4Admin and P4V, and neither can the other…
GC_Vos
  • 1
  • 1
1
2