

- #Andyroid emulator installation mac osx install#
- #Andyroid emulator installation mac osx for android#
- #Andyroid emulator installation mac osx android#
- #Andyroid emulator installation mac osx password#
- #Andyroid emulator installation mac osx license#
#Andyroid emulator installation mac osx android#
Make sure you have the latest Android tools installed as well.
#Andyroid emulator installation mac osx install#
If you get this error, then open ADT, go to Window menu and click on Android SDK Manager to install or update Android 4.4.2 (API 19).Įrror: Please install Android target 19 (the Android newest SDK). To install it on Android emulator, you need to create a new Android Virtual Device using Android Virtual Device Manager from ADT Window menu. Keep your Android device connected because it will try to install on device. It will compile and run the phonegap application. Add the following lines in the editorĮxport PATH=$:/Applications/adt-bundle-mac-x86_64-20131030/sdk/platform-tools:/Applications/adt-bundle-mac-x86_64-20131030/sdk/tools $ touch ~/.bash_profile open ~/.bash_profile Make sure you have the latest Android SDK installed, and the "android" command (inside the tools/ folder) is added to your path. This time you will get a new error which is given below.Įrror: The command "android" failed. The download and installation process may take 30 minutes or more.Īfter xcode-select is installed run $ brew doctor to see if there are any issues.įinally run this command to install ant - $ brew install ant
#Andyroid emulator installation mac osx password#
To install “ant” follow the steps given below.Įnter the root password and click on Install when it prompts to install the xcode-select tools. It will throw an error if “ant” is not installed.

Now let’s start compile and run phonegap application on Android device/emulator. This time it will compile and run the phonegap application on iOS emulator. Open another Terminal and run following command to install ios-sim - $ sudo npm install -g ios-simĪfter ios-sim is installed, run command $ phonegap run ios But, first attempt to run the build failed with following error message:

To run phonegap application on iOS run command $phonegap run ios. We will first start with build/run process for iOS. You can even change this information post-create process from config.xml file stored in \Now go to project folder using this command $ cd hello-world Build and Run for iOSħ. This command will create a new folder “hello-world” and add files which will be useful for PhoneGap-based application development.Īlso, you can use this format to create a project $phonegap create Į.g. Go to phonegap folder and run command $phonegap create hello-world If the installation is successful, you will see the following information on your screen.ĥ. If it fails in first attempt then re-run the same command again. Run the “npm” command given on Install PhoneGap page to start the installation process. After Node.js installation is complete, it will display the last screen with following information.ģ. To start with PhoneGap installation, first download Node.js for OS X (node-v0.10.26.pkg) from the link given on Install PhoneGap page.Ģ. PhoneGap Installation on OS X Mavericksġ. Click on No to disable sending usage statistics to Google.
#Andyroid emulator installation mac osx for android#
Select the workspace folder for Android in Workspace Launcher window.ĩ. Once the runtime gets installed, it will start Eclipse (ADT).Ĩ. This process will take 10-15 minutes to complete. It will prompt for installing Java SE 6 runtime which is required for Eclipse. Run Eclipse from Applications\\sdk\eclipse folder.ħ. Wait for few minutes because it will invoke the iOS emulator, install and run the sample iOS application.Ħ.

Click on Enable if it prompts for Enable Developer Mode on this Mac. Create a new sample iOS application and run the project. It will take some time to install additional components.ĥ.
#Andyroid emulator installation mac osx license#
Open Xcode from Applications folder and click on Agree for Xcode and iOS SDK license agreement. The Android and iOS projects will be found under \platforms folder.Ĥ. Documents\workspace\phonegap – this one will be used to store phonegap-based mobile applications.Documents\workspace\iOS – this one will be used to store iOS projects created using Xcode.Documents\workspace\Android – this one will be used to store Android projects created using ADT.Create following folder structure to store your projects. Once installation is complete extract the ADT bundle and move the extracted folder to Applications folder.ģ. We will use it to create builds for iOS.Ģ. Download and install Xcode which can later be accessed from Applications folder. IPhone or iPad device or iOS emulator which is a part of Xcodeġ. One of the main reasons for using PhoneGap on OS X platform was to make sure that we can create test builds for iOS and Android devices.
