2014-02-20 9 views
0

我編譯我的源代碼,它只是終止而不運行應用程序。 這是日誌我得到:

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的一個問題。 如果我沒有弄錯'Starter'包處理這個。

任何人都可以幫忙嗎?

乾杯。

回答

1

我們目前不支持MapKit,它目前也不在我們的路線圖中。可以使用BridgeKit來使用本機Android映射API並實現您想要的功能。

+0

如果我使用Google地圖,該怎麼辦?你承認它可以編譯嗎? – Felipe

+0

你可以使用bridgekit來創建調用到android的mapview類或類似的objc類和方法。 –