

If more than oneĪVD is available as a target, you're prompted to select one. You're prompted to do so with the android command. Make sure you create at least one Android Virtual Device, otherwise $ /path/to/project/cordova/run Ĭ:\>\path\to\project\cordova\run.bat This includes -debug, -release, or -nobuild. This includes -emulator, -device, or -target=.īuild specification. The run command accepts the following optional parameters: Release, on Mac/Linux or Windows: $ /path/to/project/cordova/build -releaseĬ:\>\path\to\project\cordova\build.bat -release Here is the syntax for both Mac/Linux and Windows: $ /path/to/cordova-android/bin/create /path/to/project _name ProjectNameĬ:\>\path\to\cordova-android\bin\create.bat \path\to\project _name ProjectNameĭebug, on Mac/Linux or Windows: $ /path/to/project/cordova/build -debugĬ:\>\path\to\project\cordova\build.bat -debug The reverse-domain-style package identifier, and the app's display Run the create command, specifying the existing path to the project, See Application Plugins for details on how to develop Plugin features across all platforms, see Using Plugman to Manage Information on the additional command-line interface that enables These tools allow you to create, build, and run Android apps. The top-level bin directory, otherwise consult the README file The relevant tools are typically available in Expand each you wish to target,Īndroid in this case. To enable shell tools for Android, download Cordova fromĬ. Before using eitherĭevelopment path, you must first configure the Android SDK environmentĪs described in the Android Platform Guide. The cross-platform CLI tool described in The Command-Line Interface.įor example, you need to use shell tools when deploying a customĬordova WebView alongside native components. Overview, may offer you a greater range of development options than This guide shows how to use Cordova's set of platform-centered shell
