Buildozer - How to handle the change of version or updates with new icons.

20 views
Skip to first unread message

Giovanni Bucci

unread,
Apr 20, 2018, 9:50:39 AM4/20/18
to Kivy users support
Hi All,
Before starting my first test to deploy an app (APK) in Android environment, I would like to ask you some information and the correct steps of execution.

1) I ask you what should be done when a change of APK version is made. More exactly, let's suppose I added a line in the code or changed the associated icon. In this case I have to create a subdirectory for this new version,  insert the new modified file but always with the same name "main.py". Is it true? I suppose that in this "home directory" I have to re-execute the "buildozer init" command only to have the new "buildozer.spec" file to be modified with the new data such as the version and the name of the new icon.

2) Perhaps, in my opinion, the most complete command to be performed to trace the possible errors is the following
buildozer -v android debug deploy run logcat> my_log.txt (or without run)
But before executing this command I ask you if my Android smartphone must already be connected via USB cable to the PC and if I need to enable some settings on Android as enable APK installs on an Android device.

Any help or suggestion will be greatly appreciated.
Thanks in advance for your kind support.
Regards,
     Giovanni

Alexander Taylor

unread,
Apr 21, 2018, 8:08:18 AM4/21/18
to Kivy users support
I don't really understand your question 1 - changing your code does not require making a new subdirectory. But overall, it doesn't matter what you do to the code, when you run buildozer it packages the APK according to your configuration and tries to run the main.py on the device.

For your question 2, yes, adb will not work without the phone being connected and adb enabled. I recommend just trying it to understand what you need to do.
Reply all
Reply to author
Forward
0 new messages