我在2个Titanium SDK文件中更改了一些行,但是编译时遇到了麻烦:
titanium_mobile/android/modules/media/src/java/ti/modules/titanium/media/TiCameraActivity.java
titanium_mobile/android/modules/media/src/java/ti/modules/titanium/media/MediaModule.java
这是我的终端命令:
-bash-3.2 $ cd / Users / ricardo / Downloads / titanium_mobile-master build -bash-3.2 $ npm install
node-ios-device@0.11.2 install / Users / ricardo / Downloads / titanium_mobile-master / node_modules / node-ios-device node-pre-gyp install --fallback-to-build
[node-ios-device]成功:“/Users/ricardo/Downloads/titanium_mobile-master/node_modules/node-ios-device/binding/node-v46-darwin-x64/node_ios_device.node”已安装 传递--update-binary重新安装或--build-from-source重新编译 错误的ERR!达尔文15.6.0 错误的ERR! argv“/ usr / local / bin / node”“/ usr / local / bin / npm”“install” 错误的ERR!节点v4.2.2 错误的ERR! npm v2.14.7 错误的ERR!代码EPEERINVALID
npm ERR! peerinvalid包grunt@1.0.1不满足其兄弟姐妹的peerDependencies要求! 错误的ERR! peerinvalid Peer grunt-clang-format@0.3.0想要grunt@~0.4.5 错误的ERR! peerinvalid Peer grunt-contrib-clean@1.0.0想要grunt @> = 0.4.5 错误的ERR! peerinvalid Peer grunt-appc-js@1.0.23想要grunt @ *
npm ERR!请在任何支持请求中包含以下文件: 错误的ERR! /Users/ricardo/Downloads/titanium_mobile-master/npm-debug.log
错误:找不到模块'/Users/ricardo/Downloads/titanium_mobile-master/scons.js'
-bash-3.2 $ node build / scons.js build --android-ndk / opt / android-ndk --android-sdk / opt / android-sdk
构建MobileSDK版本6.1.0,githash undefined
-bash-3.2 $ node scons.js build --android-ndk / opt / android-ndk --android-sdk / opt / android-sdk`