You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2014/09/11 21:47:34 UTC

[jira] [Updated] (CB-7366) Cant add platform using latest android sdk

     [ https://issues.apache.org/jira/browse/CB-7366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Clelland updated CB-7366:
-----------------------------
    Priority: Major  (was: Blocker)

> Cant add platform using latest android sdk 
> -------------------------------------------
>
>                 Key: CB-7366
>                 URL: https://issues.apache.org/jira/browse/CB-7366
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 3.5.0
>         Environment: Ubuntu 14.04 LTS 64b
>            Reporter: Muhammad Hussein Fattahizadeh
>
> sweb@sweb-laptop:~/andtest/hello$ cordova platform add android
> Downloading cordova library for android...
> Download complete
> Creating android project...
> /home/sweb/.cordova/lib/android/cordova/3.5.1/bin/node_modules/q/q.js:126
>                     throw e;
>                           ^
> Error: Please install Android target 19 (the Android newest SDK). Make sure you have the latest Android tools installed as well. Run "android" from your command-line to install/update any missing SDKs or tools.
>     at /home/sweb/.cordova/lib/android/cordova/3.5.1/bin/lib/check_reqs.js:80:29
>     at _fulfilled (/home/sweb/.cordova/lib/android/cordova/3.5.1/bin/node_modules/q/q.js:798:54)
>     at self.promiseDispatch.done (/home/sweb/.cordova/lib/android/cordova/3.5.1/bin/node_modules/q/q.js:827:30)
>     at Promise.promise.promiseDispatch (/home/sweb/.cordova/lib/android/cordova/3.5.1/bin/node_modules/q/q.js:760:13)
>     at /home/sweb/.cordova/lib/android/cordova/3.5.1/bin/node_modules/q/q.js:574:44
>     at flush (/home/sweb/.cordova/lib/android/cordova/3.5.1/bin/node_modules/q/q.js:108:17)
>     at process._tickCallback (node.js:419:13)
> Error: /home/sweb/.cordova/lib/android/cordova/3.5.1/bin/create: Command failed with exit code 8
>     at ChildProcess.whenDone (/home/sweb/Applications/node/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
>     at ChildProcess.emit (events.js:98:17)
>     at maybeClose (child_process.js:756:16)
>     at Process.ChildProcess._handle.onexit (child_process.js:823:5)
> =============================================
> sweb@sweb-laptop:~$ nano ~/.cordova/lib/android/cordova/3.5.1/framework/project.properties
> I must change it manually. i cant find any documention for this issue :
> target=android-20



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)