我的main.py和其他文件在使用kivy启动器时工作正常,但是当我用buildozer构建.apk时,它没有按预期工作。
以下是我在main.py
中导入的内容import re
from kivy.adapters.dictadapter import ListAdapter
from kivy.uix.scrollview import ScrollView
from kivy.uix.label import Label
from kivy.uix.slider import Slider
from functools import partial
from kivy.lang import Builder
from kivy.uix.floatlayout import FloatLayout
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.screenmanager import ScreenManager, Screen
from kivy.uix.button import Button
from kivy.uix.floatlayout import FloatLayout
from kivy.uix.stacklayout import StackLayout
from kivy.uix.gridlayout import GridLayout
from kivy.app import App
from kivy.uix.popup import Popup
from kivy.factory import Factory
from kivy.properties import ObjectProperty
from kivy.clock import Clock
from kivy.network.urlrequest import UrlRequest
import time, threading
from kivy.storage.jsonstore import JsonStore
from kivy.uix.checkbox import CheckBox
我是否需要专门构建任何模块。 [我猜不会] buildozer.spec中的当前要求是
# (list) Application requirements
requirements = kivy
我使用buildozer -v android debug
命令构建apk。