python/kivy GPS JVM异常

2024-10-01 15:37:22 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试使用kivy/plyer在android上使用GPS,得到一个错误“jvmexception error”

截图: https://cloud.githubusercontent.com/assets/5901966/7447369/5413131a-f201-11e4-8792-581ba30c25ff.jpg

方法中的代码\u开始:

def _start(self):
        # XXX defaults should be configurable by the user, later
        providers = self._location_manager.getProviders(False).toArray()
        for provider in providers:
            self._location_manager.requestLocationUpdates(
                provider,
                1000,  # minTime, in milliseconds
                1,  # minDistance, in meters
                self._location_listener,
                Looper.getMainLooper())

有人知道如何获得有关JVM异常的更多信息吗?你知道吗


Tags: inhttpsselfcloud错误managerlocationerror

热门问题