tito / kivy-gmaps

Google maps integration within Kivy application
MIT License
99 stars 26 forks source link

Buildozer builds apk but it crashes while launching #3

Open mnural opened 8 years ago

mnural commented 8 years ago
E/art     (24353): JNI ERROR (app bug): attempt to pass an instance of $Proxy1 as argument 1 to void com.google.android.gms.maps.GoogleMap.setOnMarkerDragListener(com.google.android.gms.maps.GoogleMap$OnMarkerDragListener)
F/art     (24353): art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: bad arguments passed to void com.google.android.gms.maps.GoogleMap.setOnMarkerDragListener(com.google.android.gms.maps.GoogleMap$OnMarkerDragListener) (see above for details)

I'm getting this error from logcat. How can i solve this? Thanks

SongChiYoung commented 8 years ago

I have same error. When I delete MarkerDragEvent handler and I can run apk in lollipop and marshmallow. But still we cannot see marker and line and ETC...

That's error is that TypeError: 'NoneType' object is not callable

I guess there is a problem with autoclass import. cause when I run function

  for attr in dir(MarkerOptions):
    print "obj.%s = %s" % (attr, getattr(MarkerOptions, attr))

it has error too. JNI DETECTED ERROR IN APPLICATION: static jfieldID 0x70dcc158 not valid for class java.lang.Class<com.google.android.gms.maps.model.MarkerOptions>