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'包處理這個。
任何人都可以幫忙嗎?
乾杯。
如果我使用Google地圖,該怎麼辦?你承認它可以編譯嗎? – Felipe
你可以使用bridgekit來創建調用到android的mapview類或類似的objc類和方法。 –