kivy-ios | Toolchain compiling Python / Kivy / other libraries | iOS library
kandi X-RAY | kivy-ios Summary
kandi X-RAY | kivy-ios Summary
This toolchain is designed to compile the necessary libraries for iOS to run your application and manage the creation of the Xcode project. We do not provide any binary distributions of this toolchain. You do need to compile it at least once before creating your Xcode project.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Generate an app icon
- Build an image
- Generate image
- Build the architecture
- Returns the environment variables for this arch
- Update an existing Xcode project
- Find the xcodeproj file
- Run build
- Return build environment
- Build the toolchain
- Install kivent_core
- Create a new Xcode project
- Launch an image
- Writes cythonize
- Runs libiconv
- Clean build artifacts
- Add SQLite to the archive
- Build arch
- Prebuild setuptools
- Build the build directory
- Build python code
- Print information about the build
- Build the Recipe
- List available recipes
- Return a set of modified recipes in the current branch
- Decorator to cache results
kivy-ios Key Features
kivy-ios Examples and Code Snippets
Community Discussions
Trending Discussions on kivy-ios
QUESTION
I followed these instructions to build Kivy and other recipes in my virtualbox macOS Big Sur virtual machine. When I ran toolchain build python3 kivy
or toolchain build kivy
, I encountered the below error. Any advice? Many thanks.
(venv) xxxx-iMac kivy-ios % toolchain build python3 kivy
...ANSWER
Answered 2021-Nov-01 at 06:37Your _init_.py file in freetype folder (For example, /Library/Frameworks/Python.framework/Versions/3.x/lib/python3.x/site-packages/kivy_ios/recipes/freetype/_init_.py) is referring to obsolete URL link, so you just need to edit the file and modify the "url = " like,
QUESTION
I created an APK from Python Kivy & KivyMD, using Google colab.
after installing it in my phone (android) , it crashed.
there two file in my project main.py, main.json, I have correctly listed Kivy & KivyMD in the requirements in the Buildozer.spec file. (kivy==2.0.0,kivymd==0.104.2) and I add json to included source like this:
source.include_exts = py,png,jpg,kv,atlas,json
This is my code..
main.py: it is a simple Notes app I think that there is no error
...ANSWER
Answered 2022-Jan-31 at 09:12I have also solved this problem and this helped me. Buildozer requirements is: python3,kivy==2.0.0,kivymd==0.104.2,pillow==8.0.1
QUESTION
I'm making a kivy app for samsung and compiling it using buildozer, ubuntu on windows.
This is .spec file:
...ANSWER
Answered 2022-Jan-25 at 15:35I had same issue in past and I solve by adding every requirements in .spec
This requirements work for me:
QUESTION
I am trying to create a kivy app for android device. And my code is working great on the PC. But the apk file created using buildozer is not really working on the android. It crashes before opening. But a simple Hello World Example works perfect With the same spec file.. I am not at all using any external modules in the app. Only socket module (which is a python core module.)
I don't know, what is happening. So I used socket to create a functionality to try the code and in exception I have given the code to send the Exception to my IP. Also I am having a program ready to receive and print the signal. Both these things worked great on the PC. But apk still crashes. Without sending any logs to my PC.
Here is the spec file:
...ANSWER
Answered 2021-Oct-21 at 04:06Remove comment from android.permissions = INTERNET,
then it may work.
QUESTION
I have created an APK file from Python Kivy & KivyMD, using Buildozer. When I open the app after installing it, it shows the splash image and then closes. I have checked and found that their seems no issue in the main.py, as I have correctly listed Kivy & KivyMD in the requirements in the Buildozer.spec file. (kivy==2.0.0,kivymd==0.104.1)
This is my code..
main.py
...ANSWER
Answered 2021-Oct-16 at 08:18If you have some other plugins just add them like this:
QUESTION
from kivy.uix.screenmanager import Screen from plyer import call from plyer.platforms.android import activity from kivy.utils import platform import os
...ANSWER
Answered 2021-Aug-25 at 14:54plyer call method works only on android and iOS as descripted here here
QUESTION
I encountered an error while trying to compile my kivy app using buildozer. It's telling me no such file or directory. When I went to check the directory it's Reminder__armeabi-v7a/project.properties
but it seems it needs the directory as Reminder system__armeabi-v7a/project.properties
.
I don't know if it's advisable to rename the directory because I didn't create the directory. It was created automatically during the build process. Also when I tried renaming the folder to "Reminder system__armeabi-v7a/project.properties", I got the error saying "toolchain.py: error unrecognized argument system system", so I reverted the changes made, and I'm looking for another solution.
My buildozer.spec
file looks like this:
ANSWER
Answered 2021-Sep-27 at 05:57I'm not familiar with buildozer, but the path in your error message contains a space, which is suspicious (unfortunately, many tools still fail to work with spaces in the path...). It seems to come from your package.name
variable in the buildozer.spec
, which is "Reminder system".
Simply renaming directories that you didn't make yourself is generally a bad idea. I'm glad you reverted that action.
The documentation of buildozer.spec
states this:
The Package name is one word with only ASCII characters and/or numbers. It should not contain any special characters. For example, if your application is named Flat Jewels, the package name can be flatjewels.
So I guess that changing that line to:
QUESTION
I'm trying to make kivy app for android that has some simple network features. The app works fine on pc but when I try to import it to android it doesn't work anymore. At first my app crashed on startup which was apparently caused by having network stuff on my main thread so I moved all the network stuff to another thread so my app doesn't crash anymore but it doesn't work either. Here is where I make new thread for networking:
...ANSWER
Answered 2021-Aug-12 at 12:25You don't need android.permissions
in your requirements
, but you will need the line:
QUESTION
I'm a newbie at Python and Kivy as well, so please help me.
So I wanted to compile my app to .apk
and found a guide video on YouTube.(I'm using Windows btw)
Here it is - https://www.youtube.com/watch?v=D0reWInYl6k&ab_channel=SBDeveloper
So, when I was editing buildozer.spec
I noticed that author didn't set the latest KivyMD version, so I did.
And it compiled succesfully, but when I opened it on my phone, it showed the kivy loading screen and then just crashed.
I searched a lot what is the problem but didn't understand anything.
Here is buildozer.spec
file:
ANSWER
Answered 2021-Aug-13 at 09:58Short version: buildozer -v android debug deploy run logcat
to know what is the problem.
_
Long version:
After having done a lot of kivy app I can give the best advice you will ever have: do "Hello World" (which means do the tiniest possible working code). Actually, without error message and that much possibility of crashing without all the information your title is not Kivy/KivyMD application crashes on Android after compiling to .apk but HELP ME which is time consuming...
Problems:
- Trying to import that much stuff without having a working MVP app is madness.
- You are importing MD stuff which evolve quickly and can easely work on a version and crash on another.
- You are using storage without asking it on the buildozer.
- You don't show your python code even if you are actually crashing on the
build/on_kv_post
. - You need to use
buildozer -v android debug deploy run logcat
to get visual on your errors by connecting your phone to your PC.
If you had done step by step, you would have pass from Kivy/KivyMD application crashes on Android after compiling to .apk to something like: Why does the MDWidgetXXX is not working on Android or Kivy: How to register file on Android
QUESTION
ANSWER
Answered 2021-Jul-28 at 22:52In order for everything to work correctly and the example below to run, you need to perform the following steps:
On your PC:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kivy-ios
Xcode 10 or above, with an iOS SDK and command line tools installed: xcode-select --install
Using brew, you can install the following dependencies: brew install autoconf automake libtool pkg-config brew link libtool
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page