You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Marcel Kinard (JIRA)" <ji...@apache.org> on 2013/10/31 16:57:20 UTC
[jira] [Commented] (CB-5027) Application Error: There was a network
error.
[ https://issues.apache.org/jira/browse/CB-5027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13810365#comment-13810365 ]
Marcel Kinard commented on CB-5027:
-----------------------------------
Would it make sense to either doc this as a quick of Android emulator on Windows, or for the emulate script to check that the emulator is already running and warn if it isn't? I'm guessing that Android on a Win PC will be a common environment.
> 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)