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

Can not start on android mobile devices #16

Open
Fen747 opened this issue May 24, 2017 · 0 comments
Open

Can not start on android mobile devices #16

Fen747 opened this issue May 24, 2017 · 0 comments

Comments

@Fen747
Copy link

Fen747 commented May 24, 2017

Hi, I followed all the steps very carefully and it seems I did it right.

However, when I try to start the app meteor run android-device --settings ./settings/settings-development.json, here is the error I get agter the server is launched, when the app is being loaded and started on the device (LG G4)

Errors executing Cordova commands:         
                                              
   While running Cordova app for platform Android with options --device:
   Error: Command failed:                     
   /home/fen/talkalang/.meteor/local/cordova-build/platforms/android/cordova/run
   --device
   Note: Some input files use or override a deprecated API.
   Note: Recompile with -Xlint:deprecation for details.
   Note: Some input files use or override a deprecated API.
   Note: Recompile with -Xlint:deprecation for details.

   /home/fen/talkalang/.meteor/local/cordova-build/platforms/android/src/nl/xservices/plugins/GooglePlus.java:325:
   error: cannot find symbol
   result.put("familyName",
   acct.getFamilyName());
   ^
   symbol:   method getFamilyName()
   location: variable acct of type GoogleSignInAccount

   /home/fen/talkalang/.meteor/local/cordova-build/platforms/android/src/nl/xservices/plugins/GooglePlus.java:326:
   error: cannot find symbol
   result.put("givenName",
   acct.getGivenName());
   ^
   symbol:   method getGivenName()
   location: variable acct of type GoogleSignInAccount
   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 ':compileArmv7DebugJavaWithJavac'.
   > 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.
   { [Error:
   /home/fen/talkalang/.meteor/local/cordova-build/platforms/android/gradlew:
   Command failed with exit code 1 Error output:
   Note: Some input files use or override a deprecated API.
   Note: Recompile with -Xlint:deprecation for details.
   Note: Some input files use or override a deprecated API.
   Note: Recompile with -Xlint:deprecation for details.

   /home/fen/talkalang/.meteor/local/cordova-build/platforms/android/src/nl/xservices/plugins/GooglePlus.java:325:
   error: cannot find symbol
   result.put("familyName",
   acct.getFamilyName());
   ^
   symbol:   method getFamilyName()
   location: variable acct of type GoogleSignInAccount

   /home/fen/talkalang/.meteor/local/cordova-build/platforms/android/src/nl/xservices/plugins/GooglePlus.java:326:
   error: cannot find symbol
   result.put("givenName",
   acct.getGivenName());
   ^
   symbol:   method getGivenName()
   location: variable acct of type GoogleSignInAccount
   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 ':compileArmv7DebugJavaWithJavac'.
   > 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.] code: 1 } 'Error:
   /home/fen/talkalang/.meteor/local/cordova-build/platforms/android/gradlew:
   Command failed with exit code 1 Error output:\nNote: Some input files use or
   override a deprecated API.\nNote: Recompile with -Xlint:deprecation for
   details.\nNote: Some input files use or override a deprecated API.\nNote:
   Recompile with -Xlint:deprecation for
   details.\n/home/fen/talkalang/.meteor/local/cordova-build/platforms/android/src/nl/xservices/plugins/GooglePlus.java:325:
   error: cannot find symbol\n                result.put("familyName",
   acct.getFamilyName());\n                                             ^\n
   symbol:   method getFamilyName()\n  location: variable acct of type
   GoogleSignInAccount\n/home/fen/talkalang/.meteor/local/cordova-build/platforms/android/src/nl/xservices/plugins/GooglePlus.java:326:
   error: cannot find symbol\n                result.put("givenName",
   acct.getGivenName());\n                                            ^\n
   symbol:   method getGivenName()\n  location: variable acct of type
   GoogleSignInAccount\nNote: Some input files use or override a deprecated
   API.\nNote: Recompile with -Xlint:deprecation for details.\nNote: Some input
   files use unchecked or unsafe operations.\nNote: Recompile with
   -Xlint:unchecked for details.\n2 errors\n\nFAILURE: Build failed with an
   exception.\n\n* What went wrong:\nExecution failed for task
   \':compileArmv7DebugJavaWithJavac\'.\n> Compilation failed; see the compiler
   error output for details.\n\n* Try:\nRun with --stacktrace option to get the
   stack trace. Run with --info or --debug option to get more log output.\n
   at ChildProcess.whenDone
   (/home/fen/talkalang/.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:854:16)\n
   at Process.ChildProcess._handle.onexit
   (internal/child_process.js:222: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:211:12)
   => awaited here:
   at Function.Promise.await
   (/home/fen/.meteor/packages/meteor-tool/.1.5.0-beta.8.17q25yp++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/isopackets/cordova-support/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:35:12)
   at CordovaProject.runCommands (/tools/cordova/project.js:715:22)
   at CordovaProject.run$ (/tools/cordova/project.js:261:10)
   at tryCatch
   (/home/fen/.meteor/packages/meteor-tool/.1.5.0-beta.8.17q25yp++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:63:40)
   at GeneratorFunctionPrototype.invoke [as _invoke]
   (/home/fen/.meteor/packages/meteor-tool/.1.5.0-beta.8.17q25yp++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:337:22)
   at GeneratorFunctionPrototype.prototype.(anonymous function) [as next]
   (/home/fen/.meteor/packages/meteor-tool/.1.5.0-beta.8.17q25yp++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:96:21)
   at tryCatch
   (/home/fen/.meteor/packages/meteor-tool/.1.5.0-beta.8.17q25yp++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:63:40)
   at invoke
   (/home/fen/.meteor/packages/meteor-tool/.1.5.0-beta.8.17q25yp++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:139:20)
   at
   /home/fen/.meteor/packages/meteor-tool/.1.5.0-beta.8.17q25yp++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:184:11
   at callInvokeWithMethodAndArg
   (/home/fen/.meteor/packages/meteor-tool/.1.5.0-beta.8.17q25yp++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:183:16)
   at AsyncIterator.enqueue
   (/home/fen/.meteor/packages/meteor-tool/.1.5.0-beta.8.17q25yp++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:206:13)
   at AsyncIterator.prototype.(anonymous function) [as next]
   (/home/fen/.meteor/packages/meteor-tool/.1.5.0-beta.8.17q25yp++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:96:21)
   at Object.runtime.async
   (/home/fen/.meteor/packages/meteor-tool/.1.5.0-beta.8.17q25yp++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/regenerator-runtime/runtime.js:226:14)
   at
   /home/fen/.meteor/packages/meteor-tool/.1.5.0-beta.8.17q25yp++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/isopackets/cordova-support/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:32:39
                                              
/home/fen/.meteor/packages/meteor-tool/.1.5.0-beta.8.17q25yp++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/isopackets/cordova-support/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:190
      throw error;
      ^
undefined
 => awaited here:
    at Function.Promise.await (/home/fen/.meteor/packages/meteor-tool/.1.5.0-beta.8.17q25yp++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/isopackets/cordova-support/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:35:12)
    at /tools/cordova/runner.js:98:17
    at /tools/utils/buildmessage.js:271:13
    at [object Object]._.extend.withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:264:29
    at [object Object]._.extend.withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:262:18
    at [object Object]._.extend.withValue (/tools/utils/fiber-helpers.js:89:14)
    at /tools/utils/buildmessage.js:253:23
    at [object Object]._.extend.withValue (/tools/utils/fiber-helpers.js:89:14)
    at Object.capture (/tools/utils/buildmessage.js:252:19)
    at CordovaRunner.startRunTargets (/tools/cordova/runner.js:97:37)
    at [object Object]._.extend._runOnce (/tools/runners/run-app.js:763:21)
    at [object Object]._.extend._fiber (/tools/runners/run-app.js:876:28)
    at /tools/runners/run-app.js:403:12

I work on a Ubuntu 14.04, with METEOR@1.5-beta.8

I got no idea of why I get this, and to be honnest, I don't understand what it means. None of the quoted erronous code is mine.

Thanks you

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

1 participant