Dear Sir:
I am new to both python and kivy. The attached code is work ok in Ubuntu VM. I created the apk file using buildozer and successfully. Then I installed my apk file in mobile and tried to open. I got the loading text with kivy logo but the app is closed immediately. Originally, the apk. Works ok without adding “ import yfinance as yf “, As there is no error, I pretty sure that import the yfinance module cause the apk failure. Could you please help me how to edit the buildozer.spec to fix the problem. Thanks!
There are three attachments: 1. output from buildozer 2. main.py 3. buildozer.spec
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/CAEg2jyht%3DqOxSf9deU5Fc-R33XqjX%2BxtDSDQ3WfTev%2BcceZJjQ%40mail.gmail.com.
<buildozer_output.docx><main.py><buildozer.spec>
Dear sir:
Thank you very much for your help about telling me to use adb to catch apk executing log. I installed adb and run apk thru USB. I got error message from log file. I edit the buildozer.spec and add all the missing requirements from the log report. The problem was solved and the main page can be opened. I use the function of the ping IP that works OK. But I use the function of downloading data with yfinance module. The apk is down for all and even I can’t use the quit button to quit the apk. Enclosed here with the log file and .py file. I can see the log file showing something related to “hostname=query2.finance.yahoo.com”(at time 10:20) and I am not quite understand the log file what is the reason to cause the apk failure. Please help me how to fix the problem. Thanks!