小编Jac*_*Łyp的帖子

在Xcode 6.0中导入.xliff本地化文件

Apple最近推出了一种翻译文件的新流程.您不再需要使用genstrings/ibtool来生成.strings文件 - 而只需使用.xliffXcode中内置的文件导出/导入工具:

https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/LocalizingYourApp/LocalizingYourApp.html

不幸的是,当我尝试从Xcode导入时,它崩溃了.我想xcodebuild -importLocalizations按照此处所述进行测试(第68页):

https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/BPInternational.pdf

事实证明importLocalizationsxcodebuild 没有这样的论据(尽管有一个exportLocalization)?!(man命令证实了这一点)我错过了什么吗?这也在Xcode 6.1中进行了测试.

import ios xliff xcode6

10
推荐指数
1
解决办法
2019
查看次数

Android ListView与分页崩溃

我有可分页的ListView,它的行在向下滚动时异步加载,有时候应用程序崩溃.它不会发生在Android 2.3.3上,但确实发生在Android 4.0及更高版本上.

这是我的堆栈跟踪:

03-07 15:23:02.450: D/AndroidRuntime(1545): Shutting down VM
03-07 15:23:02.450: W/dalvikvm(1545): threadid=1: thread exiting with uncaught exception (group=0x40ccb930)
03-07 15:23:02.455: E/AndroidRuntime(1545): FATAL EXCEPTION: main
03-07 15:23:02.455: E/AndroidRuntime(1545): java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. [in ListView(2131099953, class com.ui.PaginableListView) with Adapter(class android.widget.HeaderViewListAdapter)]
03-07 15:23:02.455: E/AndroidRuntime(1545):         at android.widget.ListView.layoutChildren(ListView.java:1544)
03-07 15:23:02.455: E/AndroidRuntime(1545):         at …
Run Code Online (Sandbox Code Playgroud)

android

7
推荐指数
1
解决办法
590
查看次数

标签 统计

android ×1

import ×1

ios ×1

xcode6 ×1

xliff ×1