Meteor 1.3 + cordova 6 update

Hi there, im having a problem regarding compiling my mobile app, its run fine on the web but when i try to run on a device or emulator im having an error. I guess its might be because i just updated to cordova 6.0 and now im getting:

=> Errors executing Cordova commands:

While running Cordova app for platform Android with options --emulator:
Error: Command failed: /home/noslen/Desktop/andagoeV2/.meteor/local/cordova-build/platforms/android/cordova/run --emulator
FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project ‘android’.

Could not resolve all dependencies for configuration ‘:_debugCompile’.
Could not find any version that matches
Searched in the following locations:
Required by:
Could not find any version that matches
Searched in the following locations:
Required by:

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    Error code 1 for command: /home/noslen/Desktop/andagoeV2/.meteor/local/cordova-build/platforms/android/gradlew with args:
    at ChildProcess.exitCallback (/tools/utils/processes.js:151:23)
    at ChildProcess.emit (events.js:98:17)
    at Process.ChildProcess._handle.onexit (child_process.js:820:12)

throw error;

i was thinking about downgrade to version 5.4.0 it was my previous version but i dont know if sudo npm install -g cordova@5.4.0 actually will solve my problem,im not 100% sure if the problem is regarding cordova version…
PS- note that some https link have ’ bcuz newbies only can post 2 links in a post
Thank you in advance.

Could not find any version that matches

You need add (or update) “Android Support Repository” from the Android SDK Manager.

As dar as I know, your cordova installation has no influence on meteor.

1 Like

thankz. it actually solve the problem :smiley: its was wird because it was working and suddendly after the update it gaveme this error.
bu solved. ^^

Hi @n0slen, how did you do that, updating to cordova 6 if I might ask?

I have updated that but still failing. This happens on Mac, but using Windows works well