简体   繁体   English

尝试将iOS应用分配给Android时出错

[英]Error while trying to apportable iOS app to Android

I have been trying to port my first iOS app to Android with apportable. 我一直在尝试将我的第一个iOS应用移植到具有apportable的Android。 I have solved alot of warnings and errors but cannot get rid of this last one. 我已经解决了很多警告和错误,但不能摆脱最后一个警告。 The App I made is a fitness application for jogging so it uses CoreLocation. 我制作的App是适合慢跑的健身应用程序,因此它使用CoreLocation。 Everything looks good when I run apportable now except this last error: 我现在运行适当时,一切都看起来不错,除了最后一个错误:

Build/android-armeabi-debug/com.apptonix.easyrunner/testTabbedWithCore/libtestTabbedWithCore.a(DetailViewController.mo):/Users/peterbodlund/Documents/xcodeprojects/Training/inlamning5/testTabbedWithCore/testTabbedWithCore/DetailViewController.m:function L_OBJC_CLASSLIST_REFERENCES_$_114: error: undefined reference to 'OBJC_CLASS_$_MKPinAnnotationView' scons: * [Build/android-armeabi-debug/EasyRunner/apk/lib/armeabi/libverde.so] Error 1 scons: building terminated because of errors. Build / android-armeabi-debug / com.apptonix.easyrunner / testTabbedWithCore / libtestTabbedWithCore.a(DetailViewController.mo):/ Users / peterbodlund / Documents / xcodeprojects / Training / inlamning5 / testTabbedWithCore / testTabbedWithCore / DetailViewREF_ER_S_S_L :错误:对“ OBJC_CLASS _ $ _ MKPinAnnotationView”的未定义引用scons: * [Build / android-armeabi-debug / EasyRunner / apk / lib / armeabi / libverde.so]错误1 scons:由于错误而终止了构建。 Exception AttributeError: "'NoneType' object has no attribute 'pack'" in > ignored 异常AttributeError:>中的“'NoneType'对象没有属性'pack'”被忽略

Usually this is an indicator that there were link errors. 通常,这表明存在链接错误。 Check your output higher up and look for missing symbol errors. 向上检查您的输出,并查找缺少的符号错误。

The build log is confusing because the build is parallel by default. 由于默认情况下构建是并行的,因此构建日志令人困惑。

Add the option -j1 to cause the build to stop immediately after the first error. 添加选项-j1使构建在第一个错误之后立即停止。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM