0
$ cordova platform add android --nofetch
Adding android project...
Creating Cordova project for the Android platform:
        Path: platforms\android
        Package: com.weyaltech.dailynews
        Name: Daily_News
        Activity: MainActivity
        Android target: android-26
Subproject Path: CordovaLib
Android project created with cordova-android@6.4.0
Installing "cordova-admob-sdk" for android
Failed to install 'cordova-admob-sdk': Error: cmd: Command failed with exit code ENOENT
    at ChildProcess.whenDone (C:\Users\Nik Weyal\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
    at ChildProcess.emit (events.js:182:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:238:12)
    at onErrorNT (internal/child_process.js:407:16)
    at process._tickCallback (internal/process/next_tick.js:63:19)
Error: cmd: Command failed with exit code ENOENT
4

0 回答 0