- #ECLIPSE ANDROID EMULATOR FOR MAC MAC OS X#
- #ECLIPSE ANDROID EMULATOR FOR MAC MAC OS#
- #ECLIPSE ANDROID EMULATOR FOR MAC MANUAL#
You also need to add the /Android/platform-tools/ and / Android/tools/ folders to the path variable.
#ECLIPSE ANDROID EMULATOR FOR MAC MANUAL#
The manual also says you should add the environmental variable ANT_HOME and set it to the main ANT folder (/Android/ant/), but I didn’t do this and haven’t had any issues yet.Ĭheck you’ve installed it correctly by typing ant into Terminal and looking for this output: “Buildfile: build.xml does not exist! Build failed”
#ECLIPSE ANDROID EMULATOR FOR MAC MAC OS#
On Mac OS X, you add a folder to the PATH variable by running this command in Terminal: As an example, I could type /Android/ant/bin/ant into the command line, or I could just type ant – they both do the same thing. This is a system-wide variable used by the operating system to allow you to directly open the contents of a folder without needing to specify it’s full folder path. The next step is to add ANT’s bin folder to PATH.
![eclipse android emulator for mac eclipse android emulator for mac](https://visualstudio.microsoft.com/wp-content/uploads/2016/05/Fast_636x300.png)
I then created the folder /Android/ant/ and copied the entire bin and lib folders into there. You could build manually, but the ANT tool will save you a lot of time. This step was left out of the guides I read, and caused some confusion when it came time to build. ANT is used to automate the build process, and is necessary for most users.
![eclipse android emulator for mac eclipse android emulator for mac](http://www.noreplied.com/wp-content/uploads/2014/06/Screen-Shot-2014-06-25-at-6.18.34-PM.png)
I opted to download the entire “Tools” folder, the entire folder of the latest SDK (Android 4.2 – SDK 17), and the Android Support Library (under “Extras”). This is the Android SDK Manager, and it is how you obtain the latest copy of the SDK, as well as extra tools and libraries you may need. It will open up a Terminal window, and then launch a GUI. Next, go to /Android/tools/ and run the android file. If you want to save it elsewhere, please translate that path in your head. I will be referring to this path from now on. I chose to locate it in the directory /Android/ (in the root of my main hard drive). I opted to download the non-bundle version (under the heading “Use an existing IDE”). These instructions are based on the official instructions on “ Building Your First App“, but instead of any IDE I’ll be using the command line and TextWrangler.
#ECLIPSE ANDROID EMULATOR FOR MAC MAC OS X#
I’m going to explain the steps I took to install the latest version of the Android SDK on my Mac OS X 10.7, plus the extra steps needed to get my first app working.
![eclipse android emulator for mac eclipse android emulator for mac](https://www.skill2lead.com/appium-python/images/android_emulator/1_Mac_Android_Studio.png)
The resources I’ve been reading have overlooked some vital steps in the process of installing the SDK and getting your first app up and running. The other hassles I’ve had is with the lack of accurate documentation. It’s slower than a wet week on my Mac, plus it hasn’t functioned as it should when I’ve attempted to use it in the past (and man, that interface is yuck).
![eclipse android emulator for mac eclipse android emulator for mac](https://i.imgur.com/iGqP85B.png)
Being a web developer for some years now, and having developed a Windows app or two, I figured I would be able to start prototyping these concepts for Android without too much hassle. I’ve got at least two concepts for Android apps running around in my head, notebooks & text files at the moment.