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

Joe Bowser updated CB-2529:
---------------------------

    Component/s: Android
    
> Create script fails on Windows at last step: 
> .....phonegap-2.4.0\lib\android\bin\create.js(31, 5) Microsof t JScript 
> runtime error: Path not found
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-2529
>                 URL: https://issues.apache.org/jira/browse/CB-2529
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.4.0
>         Environment: Windows 8 64bit
>            Reporter: Svetoslav Marinov
>            Assignee: Benn Mapes
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> C:\Users\User\Downloads\phonegap-2.4.0\lib\android\bin>create 
> \Users\User\worksp
> ace\LearnBGDaily com.orbisius.mobile.learnbgdaily LearnBGDaily
> Microsoft (R) Windows Script Host Version 5.8
> Copyright (C) Microsoft Corporation. All rights reserved.
> Creating new android project...
> Copying template files...
> Copying js, jar & config.xml files...
> Copying cordova command tools...
> Updating AndroidManifest.xml and Main Activity...
> C:\Users\User\Downloads\phonegap-2.4.0\lib\android\bin\create.js(31, 5) 
> Microsof
> t JScript runtime error: Path not found
> Here is the fix
> Add the following fix lines after line 158 of create.js.
> That's right after: var PACKAGE_AS_PATH=PACKAGE.replace(/\./g, '\\');
>  
> -------------------- fix ----------------------
> var ACTIVITY_DIR=PROJECT_PATH + '\\src\\' + PACKAGE_AS_PATH;
> exec('%comspec% /c mkdir ' + ACTIVITY_DIR);
> -------------------- /fix ----------------------
> Credit: 
> http://groups.google.com/group/phonegap/tree/browse_frm/month/2013-01/8958eef075e72a73?rnum=131&lnk=ol&pli=1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to