![]()
Using AVD Manager.exe (start as Administrator) you can set up a configuration. Android emulator mac cordova not running android#The Android SDK installed the Android Emulator. The package name is taken from the configxml property. Android emulator mac cordova not running apk#The apk file will be created in phonegap/platforms/android/build/outputs/apk/android-debug.apk. Set Build Command in PhoneGap Preferences, or enter from the command line: It will then look like this:Įxport PATH=/usr/local/bin:$PATH&echo $PATH&cordova buildįrom the Run menu, choose "Build Native App with PhoneGap CLI". If you are running on a Mac, you may need to add the path to Cordova to the Build Command, so it can be found. The contents of this field are standard command line format. In this case, it will build your app and run it in the Android emulator. The Build Command will run after the AppStudio saves your project into the phonegap directory. If you initialized PhoneGap as specified in the previous step, you do not need to do anything. The Build Path will default to your project folder. In AppStudio, go into the Preferences screen. The whitelist plugin is added automatically. In the PhoneGap folder, do this command for each of your plugins: The folders which come with the AppStudio PhoneGap samples will work fine until you substitute your own images. Go into this folder:Īdd your 'icon' and 'splash' folders to it. You need to add your icon files into the PhoneGap directory. If you do not specify an icon, the default PhoneGap icon will be used. Replace 'helloworld' with the name of your app in the first command. This will create a phonegap directory in your project and set it to make Android apps. To initialize a project so you can use it with PhoneGap CLI, use these commands in your project folder:Ĭordova create phonegap HelloWorld When you do a deploy from AppStudio, it updates these directories with your code. When you start a new project, you need to run a command to initialize the the directories. PhoneGap CLI looks for a number of files in your project folder (or elsewhere if you have specified in Preferences). Otherwise, look at the above linked documents for hints. If all goes smoothly, you should not need to mess with your PATH variables. It should list a set of Cordova commands: You can test whether the installation by typing the following into the cmd window. Android emulator mac cordova not running install#PhoneGap's documentation on the Cordova CLI starts here: Install Tools Windows Installation
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |