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

kasim resolved CB-4721.
-----------------------

    Resolution: Fixed

from: http://comments.gmane.org/gmane.comp.handhelds.phonegap/52593

- delete the HKEY_CLASSES_ROOT\.js key in the registry
- open a terminal with admin privileges and execute:

assoc .js=JSFILE
                
> cordova platform add android excute error.
> ------------------------------------------
>
>                 Key: CB-4721
>                 URL: https://issues.apache.org/jira/browse/CB-4721
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>         Environment: windows 7 x64;jdk1.7.0_07;ant-1.9.2;newest android sdk;
>            Reporter: kasim
>
> steps 
> as:http://docs.phonegap.com/en/edge/guide_platforms_android_index.md.html#Android%20Platform%20Guide
> cordova create hello com.example.hello "HelloWorld"
> cd hello
> cordova platform add android
> ouput error:
> [Error: No platforms added to this project. Please use `cordova platform add 
> <platform>`.]
> It is very weird.

--
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