![](/img/trans.png)
[英]PTP_ERROR_IO when trying to run app on Android phone using Apportable
[英]Error while trying to apportable iOS app to Android
我一直在嘗試將我的第一個iOS應用移植到具有apportable的Android。 我已經解決了很多警告和錯誤,但不能擺脫最后一個警告。 我制作的App是適合慢跑的健身應用程序,因此它使用CoreLocation。 我現在運行適當時,一切都看起來不錯,除了最后一個錯誤:
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:由於錯誤而終止了構建。 異常AttributeError:>中的“'NoneType'對象沒有屬性'pack'”被忽略
通常,這表明存在鏈接錯誤。 向上檢查您的輸出,並查找缺少的符號錯誤。
由於默認情況下構建是並行的,因此構建日志令人困惑。
添加選項-j1使構建在第一個錯誤之后立即停止。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.