python / kivy - GPS - JVM异常错误

时间:2015-05-04 11:32:06

标签: python gps jvm kivy

我正在尝试使用kivy / plyer在Android上使用GPS并收到错误“JVM异常错误”

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

方法_start中的代码:

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异常的更多信息吗?

1 个答案:

答案 0 :(得分:0)

解决。是必要的重新安装python-for-android