buildozer

Path to files in kivy app not valid after building with buildozer

房东的猫 提交于 2021-02-19 08:11:15
问题 I'm trying to build a kivy app using the buildozer virtual machine. It works fine as long as my main.py doesn't contain any specific paths to files. For example, in my app I want to display an image. If I run on Windows, I would specifiy the source as C:\pathtoapp\img\image.png In Ubuntu it would be /home/pathtoapp/img/image.png If I try to build the app with buildozer I get the error message: I/Python (15649): [Error ] [Image ] Error reading file and then the above path. Here is an example

Python, Kivy, Buildozer: APK crashes with SymPy

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-10 15:44:02
问题 As the title says, I've made an .apk to run on my Android mobile. It runs perfectly on PC. As soon as I take out all SymPy commands, it runs on Android too. I've mentioned the "sympy" in the buildozer.spec file, and it's not giving any errors. But as soon, as the loading on my Android-screen is over, the App disappears. Does anyone know, if I have to do more, than mentioning the sympy in the .specs file? ADB-Logcat: "ImportError: No module named unittest" I don't know, what "unittest" ist,

Python, Kivy, Buildozer: APK crashes with SymPy

大城市里の小女人 提交于 2021-02-10 15:42:08
问题 As the title says, I've made an .apk to run on my Android mobile. It runs perfectly on PC. As soon as I take out all SymPy commands, it runs on Android too. I've mentioned the "sympy" in the buildozer.spec file, and it's not giving any errors. But as soon, as the loading on my Android-screen is over, the App disappears. Does anyone know, if I have to do more, than mentioning the sympy in the .specs file? ADB-Logcat: "ImportError: No module named unittest" I don't know, what "unittest" ist,

how to correctly implement the google API on a Kivy application compiling with buildozer?

怎甘沉沦 提交于 2021-02-10 14:44:33
问题 after having correctly compiled my application with bulldozer, by opening my application on my phone, it crashed sistematically. I have programed my app on my PC and it work just fin .So I use adb to see the error: 07-06 22:16:20.229 9704 9737 I python : Traceback (most recent call last): 07-06 22:16:20.229 9704 9737 I python : File "/home/loan/Desktop/one/.buildozer/android/app/main.py", line 7, in <module> 07-06 22:16:20.230 9704 9737 I python : File "/home/loan/Desktop/one/.buildozer

Execution failed for task ':packageDebug' - in buildozer

僤鯓⒐⒋嵵緔 提交于 2021-02-08 11:15:45
问题 I'm having an error when, I tried to create an .apk file using buildozer. I have put tensorflow, keras, numpy in requirements (.spec file). However when I try to compile I receive this error: [DEBUG]: Unable to strip library '1' due to error /home/.../.buildozer/android/platform/android- ndk-r19c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm- linux-androideabi-strip returned from '/home/.../Desktop/Sign/.buildozer/android/platform/build- armeabi- v7a/dists/signapp_

Execution failed for task ':packageDebug' - in buildozer

℡╲_俬逩灬. 提交于 2021-02-08 11:14:22
问题 I'm having an error when, I tried to create an .apk file using buildozer. I have put tensorflow, keras, numpy in requirements (.spec file). However when I try to compile I receive this error: [DEBUG]: Unable to strip library '1' due to error /home/.../.buildozer/android/platform/android- ndk-r19c/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm- linux-androideabi-strip returned from '/home/.../Desktop/Sign/.buildozer/android/platform/build- armeabi- v7a/dists/signapp_

How to keep kivy service running in background in Android (service still run when switch to other App or lock the screen)?

为君一笑 提交于 2021-02-04 21:08:41
问题 I'm trying to build an android APP with kivy,my requirement is quit simple: When open the android APP,it will start counting from 0, and a prompt will pop up in the status bar every 5 seconds. The prompt content is the current count value. If the APP is switched to the background or the screen is locked, a prompt will still pop up in the status bar every 5 seconds. here is the code I modified from Internet: from os.path import join, dirname, realpath import kivy from kivy.app import App from

How to keep kivy service running in background in Android (service still run when switch to other App or lock the screen)?

江枫思渺然 提交于 2021-02-04 21:07:12
问题 I'm trying to build an android APP with kivy,my requirement is quit simple: When open the android APP,it will start counting from 0, and a prompt will pop up in the status bar every 5 seconds. The prompt content is the current count value. If the APP is switched to the background or the screen is locked, a prompt will still pop up in the status bar every 5 seconds. here is the code I modified from Internet: from os.path import join, dirname, realpath import kivy from kivy.app import App from

buildozer android debug deploy run not running anything

依然范特西╮ 提交于 2021-01-29 22:18:35
问题 I'm following some tutorial online on pushing kivy files to an android phone. The command: buildozer android debug deploy run finishes successfully without any errors, everything checks out fine. Uploading it to my phone, its no where to be found. Even after adding run to the end of the command, my phone just sits idle and nothing happens. Does anyone happen to know where to go to test the app? 来源: https://stackoverflow.com/questions/60872967/buildozer-android-debug-deploy-run-not-running

Create kivy apk with buildozer ERROR: “Aidl cannot be executed”

自作多情 提交于 2021-01-29 11:09:34
问题 I want to upload my kivy application to Google Play store. For that i Need an .apk file , which has an api Level of 26 or higher. The .apk that I created had an apk Level of 19. So this was my way to set the Level to 26: I installed API 26,27,28 and the newest version of the building tool. In buildozer.spec i set android.api = 26. After that I run "buildozer android release deploy run". And now I get this error: "Check that aidl can be executed Search for Aidl Run 'home/dennis/.buildozer