React-native-camera: Could not find method google() for arguments [] on repository container.

Created on 7 Aug 2018  路  3Comments  路  Source: react-native-camera/react-native-camera

Where:
Build file 'C:UsersuserDesktopTPSoftwareChatbot_MobileApptmpChatbotIonicAppplatformsandroidbuild.gradle' line: 28

  • What went wrong:
    A problem occurred evaluating root project 'android'.

    Could not find method google() for arguments [] on repository container.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    (node:12616) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code 1 Error output:
    FAILURE: Build failed with an exception.

  • Where:
    Build file 'C:UsersuserDesktopTPSoftwareChatbot_MobileApptmpChatbotIonicAppplatformsandroidbuild.gradle' line: 28

  • What went wrong:
    A problem occurred evaluating root project 'android'.

    Could not find method google() for arguments [] on repository container.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    at ChildProcess.whenDone (C:UsersuserDesktopTPSoftwareChatbot_MobileApptmpChatbotIonicAppplatformsandroidcordovanode_modulescordova-commonsrcsuperspawn.js:169:23)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
    (node:12616) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
    (node:12616) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    PS C:UsersuserDesktopTPSoftwareChatbot_MobileApptmpChatbotIonicApp> ionic cordova run android

Most helpful comment

All 3 comments

Same issue here

That worked for me, thank you @sibelius

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TylerKirby picture TylerKirby  路  3Comments

vicapow picture vicapow  路  3Comments

aiibe picture aiibe  路  3Comments

maxschmeling picture maxschmeling  路  3Comments

ghost picture ghost  路  3Comments