无法让Meteor移动应用程序在Android模拟器上运行

时间:2019-07-01 18:06:27

标签: cordova meteor android-emulator

我正在尝试将基于流星的网站转变为流星移动应用程序。我相信我已正确设置了所有内容,但无法让流星运行android来与Android Studio中的模拟器一起使用。我正在Windows 10中工作。我试图删除.meteor/local/cordova-build文件,它将错误更改为我不断收到的错误:

WARNING: Attempting to install plugin cordova-plugin-geolocation@2.1.0, but it should have a minimum version of
     2.4.3 to ensure compatibility with the current platform versions. Installing the minimum version for
     convenience, but you should adjust your dependencies.
WARNING: Attempting to install plugin cordova-plugin-statusbar@2.2.1, but it should have a minimum version of
         2.3.0 to ensure compatibility with the current platform versions. Installing the minimum version for
         convenience, but you should adjust your dependencies.
WARNING: Attempting to install plugin cordova-plugin-splashscreen@4.0.1, but it should have a minimum version of
         4.1.0 to ensure compatibility with the current platform versions. Installing the minimum version for
         convenience, but you should adjust your dependencies.
%% Plugin doesn't support this project's cordova-android version. cordova-android: 7.1.4, failed version requirement:
      <6.3.0
%% Skipping 'cordova-plugin-compat' for android
=> Errors executing Cordova commands:

   While running Cordova app for platform Android with options --buildConfig,C:\Users\DMI
   Intern\eportfolio\.meteor\local\cordova-build\build.json,--emulator:
   Error: Command failed: C:\Users\DMI Intern\eportfolio\.meteor\local\cordova-build\platforms\android\cordova\run
   --buildConfig C:\Users\DMI Intern\eportfolio\.meteor\local\cordova-build\build.json --emulator --buildConfig
   C:\Users\DMI Intern\eportfolio\.meteor\local\cordova-build\build.json --emulator
   'C:\Users\DMI' is not recognized as an internal or external command,
   operable program or batch file.
   at ChildProcess.exitCallback (C:\tools\utils\processes.js:151:23)
   at emitTwo (events.js:126:13)
   at ChildProcess.emit (events.js:214:7)
   at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)

C:\Users\DMI Intern\AppData\Local\.meteor\packages\coffeescript\1.0.17\plugin.compileCoffeescript.os\npm\node_modules\meteor\promise\node_modules\meteor-promise\promise_server.js:116
      throw error;
      ^
ExitWithCode:1

我如何做到使该应用程序可以在Android Studio模拟器中运行?在Windows上甚至可能吗?

0 个答案:

没有答案