You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Note: I am week in English so if any mistakes are found just ignore them.)
I have built some Android apps using Kivy Framework and I observed that the apk files are very large in size as compared to the apks built using Android Studio.
I know that Python is Interpreter language and requires Python Virtual machine to execute on any device.
For this problem I think I have found a solution i.e.,
An app store would be created and all the apps written in Kivy Framework could be released in this App store. This app store creates a folder in "/sdcard" as "/sdcard/.kivy" and in that folder all the standard libraries and python interpreter will be compiled and stored . As all libraries and python is already present. there is no need pack apks with Python libraries.
If the app is installed in a device where the kivy app store not installed. Then the app should download the libraries and place them in the folder "/sdcard/.kivy" so that other Kivy apps could use the same.
The text was updated successfully, but these errors were encountered:
I understand why you would want that, but i don't think it's a realistic idea.
Making kivy app non standards and installed in a different way would limit the ability of users to install them
Sharing the python interpreter and libraries between applications would mean they all need to use the same version of all the libraries, as an app updating the libraries would potentially break other apps. This would contrain apps to old version of libraries forever.
Being less integrated in the system, kivy apps would be easily broken by system updates when android decide to restrict access to sdcard for security reasons, i'm not even sure you can load a library from the sdcard currently, as this would be a bad practice for security reasons.
(Note: I am week in English so if any mistakes are found just ignore them.)
I have built some Android apps using Kivy Framework and I observed that the apk files are very large in size as compared to the apks built using Android Studio.
I know that Python is Interpreter language and requires Python Virtual machine to execute on any device.
For this problem I think I have found a solution i.e.,
The text was updated successfully, but these errors were encountered: