简体   繁体   中英

Kivy buildozer apk created but crashes on android

I'm working on an app, and my code works perfectly. I was also able to make the apk. But when I ran it, it didn't work properly. My app uses pygsheets, so I thought that the reason might be some missing requirement, but I'm not sure what it is. Please help. Link to log is here . I'm not very sure how I'm supposed to use this to figure out the problem. Edit: Using a try except block and writing error to text file I found it to be error message to be no module named google. It was during the import pygsheets statement. Any idea on how to solve this? I'll add my buildozer.spec file here, so please take a look at my requirements section and tell me if anything is missing. https://drive.google.com/file/d/1OkZuW31ugHWEGn8XbIpQRnlWgBwSPt-M/view?usp=drivesdk . I put all the requirements of pygsheets in, so I don't know what's wrong.

I got it. I first added all the requirements of the pygsheet module which aren't directly shown by pip show. Then I had to specify the version as there are specific version requirements. google-api-python-client had to be version 1.11.0 and six had to be version greater than 1.12.0.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM