我正在编译我的源代码,它只是在没有运行应用程序的情况下终止。这是我得到的日志:
Build/android-armeabi-debug/com.app4u.portaldorugby/PortalDoRugbyFeed/libPortalDoRugbyFeed.a(MapViewController.m.o):/Users/gringo/Desktop/PORTAL - 2014-02-20/Portal/PortalDoRugbyFeed/Native/MapViewController.m:function L_OBJC_CLASSLIST_REFERENCES_$_17: error: undefined reference to 'OBJC_CLASS_$_MKMapView'
Build/android-armeabi-debug/com.app4u.portaldorugby/PortalDoRugbyFeed/libPortalDoRugbyFeed.a(MapViewController.m.o):/Users/gringo/Desktop/PORTAL - 2014-02-20/Portal/PortalDoRugbyFeed/Native/MapViewController.m:function L_OBJC_CLASSLIST_REFERENCES_$_77: error: undefined reference to 'OBJC_CLASS_$_MKPinAnnotationView'
scons: *** [Build/android-armeabi-debug/PortalDoRugbyFeed/apk/lib/armeabi/libverde.so] Error 1
scons: building terminated because of errors.所以这主要是MKPinAnnotationView和MKMapView的问题。如果我没记错的话,“入门”包可以处理这个问题。
有人能帮上忙吗?
干杯。
发布于 2014-02-21 18:53:57
我们目前还没有对MapKit的支持,它也不在我们的路线图中。可以使用BridgeKit来使用原生的Android映射API,并实现您想要的功能。
https://stackoverflow.com/questions/21917451
复制相似问题