我正在尝试使用Google Maps模块,但收到错误消息:
脚本错误找不到模块:com.moshemarciano.googlemaps for Architectures:i386
我使用Titanium Studio安装了com.moshemarciano.googlemaps模块,它看起来已经正确安装在〜/ Library / Application Support / Titanium / iPhone以及其他我可以正常使用的模块中。
在我的tiapp.xml中,我有:
<module platform="iphone">com.moshemarciano.googlemaps</module>
在我的app.js中,我有:
fb = require('facebook');
googleMapsAPI = require('com.moshemarciano.googlemaps');
“ facebook”的要求工作正常,但“ com.moshemarciano.googlemaps”的要求导致错误。
有人知道我可能做错了吗?
检查是否tiapp.xml
包含对com.moshemarciano.googlemaps
<modules>
....
<module platform="android">com.moshemarciano.googlemaps</module>
....
</modules>
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句