[
https://issues.apache.org/jira/browse/CB-4285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760165#comment-13760165
]
Braden Shepherdson commented on CB-4285:
----------------------------------------
Interesting. What about running the cordova emulate command again after the
emulator is ready?
It looks like the Windows run script for Android is doing some dumb things. But
they've also been completely overhauled since 3.0. Maybe try the following:
- Delete your $HOME/.cordova/lib/android (this is the cached download of the
Android platform used by cordova platform add android)
- Clone cordova-android somewhere.
- Add/edit $HOME/.cordova/config.json to include (update the path):
{ ... lib: {
android: {
"uri": "/Users/agrieve/git/cordova/cordova-android",
"version": "dev",
"id": "cordova-android-dev"
}
} }
And then remove and re-add the Android platform, and try running cordova
emulate again. The scripts, as I say, have been completely redone in node, and
this bug may be gone.
> Windows cordova emulate command doesn't install project
> -------------------------------------------------------
>
> Key: CB-4285
> URL: https://issues.apache.org/jira/browse/CB-4285
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Environment: Windows 7
> Reporter: Lisa Seacat DeLuca
> Assignee: Braden Shepherdson
>
> I am able to add the android platform to a test cordova cli project and build
> just fine. When i go to run on an emulator the emulator opens but the
> project is never installed. This is the very simple case, no plugins were
> added.
> C:\workspaces\cordovacli\helloworld>cordova -d emulate android
> cordova library for "android" already exists. No need to download. Continuing.
> Wrote out Android application name to "helloworld"
> Wrote out Android package name to "com.helloworld"
> Calling plugman.prepare for platform "android"
> Preparing android project...
> Processing configuration changes for plugins.
> Iterating over installed plugins: []
> Writing out cordova_plugins.js...
> Running on emulator for platform "android" via command
> ""C:\workspaces\cordovacli\helloworld\platforms\android\cordova\run"
> --emulator" (output to fol
> low)...
--
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