[ 
https://issues.apache.org/jira/browse/CB-5506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13835228#comment-13835228
 ] 

bai lee commented on CB-5506:
-----------------------------

When I was debugging the problem, i encounterred the following message:

[Error: Please install Android target 18 (the Android newest SDK). Make sure 
you have the latest Android tools installed as well.

it prompts that the current newest SDK is 18, but at the time when i was 
building the cordova project, the newest target version is 19 already.

i think the target specific code should be removed from the code base.

> Unable to execute add platform android due to the specific android level 
> specified
> ----------------------------------------------------------------------------------
>
>                 Key: CB-5506
>                 URL: https://issues.apache.org/jira/browse/CB-5506
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.2.0
>         Environment: WINDOWS 7,8 , WINDOWS XP, android_parser.js
>            Reporter: bai lee
>            Priority: Critical
>
> cordova library for "android" already exists. No need to download. Continuing.
> Checking if platform "android" passes minimum requirements...
> Checking Android requirements...
> Running "android list target" (output to follow)
> Available Android targets:
> ----------
> id: 1 or "android-19"
>      Name: Android 4.4
>      Type: Platform
>      API level: 19
>      Revision: 1
>      Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), 
> WVGA854, W
> XGA720, WXGA800, WXGA800-7in
>      ABIs : armeabi-v7a
> Running "android update project -p 
> "C:\Users\eric\.cordova\lib\android\cordova\3
> .2.0\framework" -t android-17" (output to follow)...
> Error: Target id 'android-17' is not valid. Use 'android.bat list targets' to 
> ge
> t the target ids.
> Creating android project...
> Running bin/create for platform "android" with command: 
> ""C:\Users\eric\.cordova
> \lib\android\cordova\3.2.0\bin\create"  
> "C:\Users\eric\hello\platforms\android"
> "com.example.hello" "HelloWorld"" (output to follow)
> Error: An error occured during creation of android sub-project.
>     at 
> C:\Users\eric\AppData\Roaming\npm\node_modules\cordova\src\platform.js:25
> 0:30
>     at ChildProcess.exithandler (child_process.js:641:7)
>     at ChildProcess.EventEmitter.emit (events.js:98:17)
>     at maybeClose (child_process.js:735:16)
>     at Process.ChildProcess._handle.onexit (child_process.js:802:5)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to