当我运行“meteor run android”时,我的应用程序失败了。我在fedora 23上运行meteor。我认为这是模拟器的一个问题,因为当它到达调用模拟器时,那就是它失败了。 以下是终端提供的内容:
[root@localhost first-app]# meteor run android
[[[[[ /home/karakireronald/Meteor-Projects/first-app ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Errors executing Cordova commands:
While running Cordova app for platform Android with options --emulator:
Error: Command failed:
/home/karakireronald/Meteor-Projects/first-app/.meteor/local/cordova-build/platforms/android/cordova/run
--emulator
{ [Error: adb: Command failed with exit code 126 Error output:
/root/Android/Sdk/platform-tools/adb: /root/Android/Sdk/platform-tools/adb:
cannot execute binary file] code: 126 } 'Error: adb: Command failed with
exit code 126 Error output:\n/root/Android/Sdk/platform-tools/adb:
/root/Android/Sdk/platform-tools/adb: cannot execute binary file\n at
ChildProcess.whenDone
(/home/karakireronald/Meteor-Projects/first-app/.meteor/local/cordova-build/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)\n
at emitTwo (events.js:87:13)\n at ChildProcess.emit
(events.js:172:7)\n at maybeClose (internal/child_process.js:829:16)\n
at Process.ChildProcess._handle.onexit
(internal/child_process.js:211:5)'
at ChildProcess.exitCallback (/tools/utils/processes.js:151:23)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
/root/.meteor/packages/less/.2.6.5.1m3fc8s++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:165
throw error;
^
ExitWithCode:1