You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2014/01/07 23:33:50 UTC
[jira] [Updated] (CB-5670) Build script crash
[ https://issues.apache.org/jira/browse/CB-5670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser updated CB-5670:
---------------------------
Component/s: (was: Android)
This is a different issue than the previous one, and is based on the CLI. How are you updating your project to use Google APIs in the first place?
> Build script crash
> -------------------
>
> Key: CB-5670
> URL: https://issues.apache.org/jira/browse/CB-5670
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.3.0
> Environment: Win 7 64-bit
> Reporter: James Wong
>
> The error as described in this issue CB-5255 (marked as fixed) has not yet been reflected in the latest PhoneGap 3.3.0 release.
> {code}
> c:\Development\egs>phonegap build android -V
> [phonegap] detecting Android SDK environment...
> [phonegap] using the local environment
> [phonegap] compiling Android...
> [phonegap] Installing cordova library for android...
> [phonegap] missing library cordova/android/3.3.0
> [phonegap] downloading https://git-wip-us.apache.org/repos/asf?p=cordova-android
> .git;a=snapshot;h=3.3.0;sf=tgz...
> [phonegap] Downloading cordova library for android...
> [phonegap] Download complete
> [phonegap] Installing cordova library for android...
> [phonegap] Generating config.xml from defaults for platform "android"
> [phonegap] Compiling app on platform "android" via command "cmd" /c c:\Developme
> nt\egs\platforms\android\cordova\build
> [error] An error occurred while building the android project.
> c:\Development\egs\platforms\android\cordova\lib\check_reqs.js:37
> return target.split('=')[1].replace('\n', '').replace('\r', '').replac
> ^
> TypeError: Cannot call method 'replace' of undefined
> at Object.module.exports.get_target (c:\Development\egs\platforms\android\co
> rdova\lib\check_reqs.js:37:37)
> at Object.module.exports.check_android (c:\Development\egs\platforms\android
> \cordova\lib\check_reqs.js:67:29)
> at Object.module.exports.run (c:\Development\egs\platforms\android\cordova\l
> ib\check_reqs.js:90:61)
> at Object.<anonymous> (c:\Development\egs\platforms\android\cordova\build:31
> :10)
> at Module._compile (module.js:456:26)
> at Object.Module._extensions..js (module.js:474:10)
> at Module.load (module.js:356:32)
> at Function.Module._load (module.js:312:12)
> at Function.Module.runMain (module.js:497:10)
> at startup (node.js:119:16)
> c:\Development\egs>phonegap version
> 3.3.0-0.17.1
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)