正在尝试使用Appcelerator上的Titanium.Filesystem.getSeperator
函数,它在iOS上运行良好。但是在Android上,我们收到以下错误:
[ERROR] V8Exception: Exception occurred at /scripts.js:1: Uncaught TypeError: Titanium.Filesystem.getSeperator is not a function
有人知道吗?试图谷歌,但什么都没有..
你的代码中有拼写错误。这不是seperator
而是separator
.为什么它可以在iOS上运行让我感到困惑。
请务必检查文档并验证您的代码。当它说方法没有定义时,它应该敲响铃铛