Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution failed for task ':compileDebugJava'. after upgrading Meteor to 1.2.0.1 #4

Open
solonm opened this issue Sep 28, 2015 · 1 comment

Comments

@solonm
Copy link

solonm commented Sep 28, 2015

This is the error i get. Do you have any plans to update this for meteor 1.2.0.1

Errors executing Cordova commands:
While running Cordova app for platform Android with options --device:
Error: Command failed: /meteor-meteoric-boilerplate/.meteor/local/cordova-build/platforms/android/cordova/run --device
/meteor-meteoric-boilerplate/.meteor/local/cordova-build/platforms/android/src/de/appplant/cordova/plugin/localnotification/LocalNotification.java:495: error: cannot find
symbol
webView.evaluateJavascript(js, null);
^
symbol: method evaluateJavascript(String,)
location: variable webView of type CordovaWebView
/meteor-meteoric-boilerplate/.meteor/local/cordova-build/platforms/android/src/de/appplant/cordova/plugin/localnotification/LocalNotification.java:492: error: cannot find
symbol
webView.post(new Runnable(){
^
symbol: method post()
location: variable webView of type CordovaWebView
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileDebugJava'.

    Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    /meteor-meteoric-boilerplate/.meteor/local/cordova-build/platforms/android/cordova/node_modules/q/q.js:126
    throw e;
    ^
    Error code 1 for command: /meteor-meteoric-boilerplate/.meteor/local/cordova-build/platforms/android/gradlew with args:
    cdvBuildDebug,-b,/meteor-meteoric-boilerplate/.meteor/local/cordova-build/platforms/android/build.gradle,-PcdvBuildArch=arm,-Dorg.gradle.daemon=true
    at ChildProcess.exitCallback (/tools/utils/processes.js:137:23)
    at ChildProcess.emit (events.js:98:17)
    at Process.ChildProcess._handle.onexit (child_process.js:820:12)
    ExitWithCode:1

Thank you,
Solonm

@timmakken
Copy link

Im experiencing the same issue here, it also took very long for initializing the first time with the new cordova requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants