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

Joe Bowser edited comment on CB-5027 at 10/30/13 4:08 PM:
----------------------------------------------------------

The emulator on Windows is far too slow to run this on startup.  This use case 
is clearly not practical for anyone who uses Windows for development, 
especially since the Android Emulator is limited to 768 MB of RAM.  I doubt 
that this will ever be fixed, and instead it makes sense to use the AVD manager 
to start the emulator first, then deploy to it using cordova run.


was (Author: bowserj):
The emulator on Windows is far too slow to run this on startup.  This use case 
is clearly not practical for anyone who uses Windows for development, 
especially since the Android Emulator is limited to 768 MB of RAM.  I doubt 
that this will ever be fixed, and instead it makes sense to use the AVD manager 
to start the emulator first, then deploy to it using cordova emulate android.

> Application Error: There was a network error.
> ---------------------------------------------
>
>                 Key: CB-5027
>                 URL: https://issues.apache.org/jira/browse/CB-5027
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, App Hello World, CLI
>    Affects Versions: 3.1.0
>         Environment: Windows7
>            Reporter: Paulo Pacheco
>              Labels: android, cordova-cli, emulate, error
>
> 1 - Install Cordova CLI 3.1.0
> 2 - cordova create model org,sample ModelApp
> 3-  cordova platform add android
> 4-  cordova build -d android
> 5-  cordova emulate android
> Error in LogCat:
> E/CordovaWebView(3677): CordovaWebView: TIMEOUT ERROR!
> Error in Emulator: "There was a network error. 
> (file:///android_asset/www/index.html)
> Tree of project:
> ├───.cordova
> │   └───hooks
> │       ├───after_build
> │       ├───after_compile
> │       ├───after_docs
> │       ├───after_emulate
> │       ├───after_platform_add
> │       ├───after_platform_ls
> │       ├───after_platform_rm
> │       ├───after_plugin_add
> │       ├───after_plugin_ls
> │       ├───after_plugin_rm
> │       ├───after_prepare
> │       ├───after_run
> │       ├───before_build
> │       ├───before_compile
> │       ├───before_docs
> │       ├───before_emulate
> │       ├───before_platform_add
> │       ├───before_platform_ls
> │       ├───before_platform_rm
> │       ├───before_plugin_add
> │       ├───before_plugin_ls
> │       ├───before_plugin_rm
> │       ├───before_prepare
> │       └───before_run
> ├───merges
> │   └───android
> ├───platforms
> │   └───android
> │       ├───assets
> │       │   └───www
> │       │       └───cordova-app-hello-world-3.1.0-5683220
> │       │           └───www
> │       │               ├───css
> │       │               ├───img
> │       │               ├───js
> │       │               └───res
> │       │                   ├───icon
> │       │                   │   ├───android
> │       │                   │   ├───bada
> │       │                   │   ├───bada-wac
> │       │                   │   ├───blackberry
> │       │                   │   ├───blackberry10
> │       │                   │   ├───ios
> │       │                   │   ├───tizen
> │       │                   │   ├───webos
> │       │                   │   └───windows-phone
> │       │                   └───screen
> │       │                       ├───android
> │       │                       ├───bada
> │       │                       ├───bada-wac
> │       │                       ├───blackberry
> │       │                       ├───blackberry10
> │       │                       └───ios
> │       ├───bin
> │       │   ├───classes
> │       │   │   └───br
> │       │   │       └───com
> │       │   │           └───softplan
> │       │   │               └───mobilelab
> │       │   ├───dexedLibs
> │       │   └───res
> │       │       ├───drawable
> │       │       ├───drawable-hdpi
> │       │       ├───drawable-ldpi
> │       │       ├───drawable-mdpi
> │       │       └───drawable-xhdpi
> │       ├───cordova
> │       │   ├───lib
> │       │   └───node_modules
> │       │       ├───.bin
> │       │       └───shelljs
> │       │           ├───bin
> │       │           └───scripts
> │       ├───gen
> │       │   └───br
> │       │       └───com
> │       │           └───softplan
> │       │               └───mobilelab
> │       ├───libs
> │       ├───res
> │       │   ├───drawable
> │       │   ├───drawable-hdpi
> │       │   ├───drawable-ldpi
> │       │   ├───drawable-mdpi
> │       │   ├───drawable-xhdpi
> │       │   ├───values
> │       │   └───xml
> │       └───src
> │           └───br
> │               └───com
> │                   └───softplan
> │                       └───mobilelab
> ├───plugins
> └───www
>     └───cordova-app-hello-world-3.1.0-5683220
>         └───www
>             ├───css
>             ├───img
>             ├───js
>             └───res
>                 ├───icon
>                 │   ├───android
>                 │   ├───bada
>                 │   ├───bada-wac
>                 │   ├───blackberry
>                 │   ├───blackberry10
>                 │   ├───ios
>                 │   ├───tizen
>                 │   ├───webos
>                 │   └───windows-phone
>                 └───screen
>                     ├───android
>                     ├───bada
>                     ├───bada-wac
>                     ├───blackberry
>                     ├───blackberry10
>                     └───ios



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

Reply via email to