0

I created a kivy app in python using pydroid3 It is quite simple, a single button. It works on the android device when run from pydroid3.

I successfully converted the python app to an android app using bulldozer.

Primary Question

I cannot get any debug feedback from the android device as to why the application crashes at start-up.

Can someone help find the location of some sort of android logs similar to syslog or PHP log in Ubuntu.

Here is what I have done to solve this problem myself:

I found documentation on how to properly configure the conversion with buildozer.spec. Soon I realized that I was adding all the python modules involved in the program - but most documentation says that buildozer scans the original files and imports the necessary modules, but still after numerous failures, I added as many as I determined needed to be included.

Each time I start the app on the android 10 device (a radio head), it just crashes upon opening. No error messages etc. I find it unexpected that there is no way to view some kind of Syslog in android. But still, I continued.

I installed android desktop (AD) on my Mac laptop and then connected it to the android head unit and setup the unit to allow USB debugging. I was able to get AD to spew out endless lines of real-time data in the Logcat display.

I was not able to identify anything related to my app in the output provided by logcat: a search using the filter resulted in nothing associated with my app's name. Further, nothing shows up searching for "error" "failure, "failure to load," etc -- that might have given me a clue.

Next Question

Are there any documents related to how to create a program in python, using buildozer, and then install and debug the app in android?

I am sure this is one simple missing module or a similar issue that should be glaring in an error log somewhere.

Thanks for any help.

Jack

.

see the information above

  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Dec 29 '22 at 04:54

0 Answers0