wildstang83 · Dec 14, 2013 at 11:30 am

Setting Up an Android Build Environment in OS X Mavericks

Android is a mobile device OS that the open-source community has come to know and love since its inception in 2007. The seemingly endless possibilities of what can be achieved with the OS are intriguing, and they have rekindled the spirits of developers worldwide. As mobile device owners, we often use our interest in Android to push our devices further and customize them to become truly our own.

As with any modifications or customization, tools are necessary. This has led to the creation of tools like Themer, an app that can be downloaded and used to easily select and apply custom themes directly on the device within a matter of seconds.

But where do tools like Themer come from? How are they built? Perhaps an even better question to ask is how is Android built? The answer to these questions is actually very simple: a build environment.

A build environment is a set of tools and directories that a developer has setup on his or her computer. This build environment allows the developer to download the Android source code, which can then be used to create a custom ROM, themes, apps, or anything else related to the OS. Some components of a build environment include a computer, the Java Development Kit (JDK), the Android SDK, the Android source, and of course, a little bit of time and patience.

Finally getting to the point, I want to bring your attention to a build environment that only a handful of developers use: OS X 10.9 Mavericks from Apple. With the right know how and proper setup, working on Android in an OS X build environment can be just as enjoyable as working in any other OS like Linux or Windows.

If you own a Mac, setting up your build environment has now been made simpler thanks to good folks like XDA Recognized Contributor jakew02, who wrote a very thorough guide on setting up a build environment, specifically in OS X Mavericks. While his guide won’t show you exactly how to build things like a custom ROM or kernels, it helps you make sure you and your Mac are better prepared to start your Android development journey.

Being a Mac owner, I’ve used the guide, and have found it to be very helpful. It is really nice coming across jewels like this on XDA. If you are a Mac user ready to start developing, head on over to jakew02’s guide thread to learn more.


_________
Want something on the XDA Portal? Send us a tip!

wildstang83

wildstang83 is an editor on XDA-Developers, the largest community for Android users. It could be said that wildstang83 has always been fascinated by anything electronic. It could also be said that he has destroyed his fair share of electronics by taking them apart just to see what was inside and then forgetting how they go back together again. wildstang83 currently provides his services as an XDA Forum Moderator and an XDA News Writer (although we still aren't sure who let him in here). He is also an XDA Recognized Developer. View wildstang83's posts and articles here.
Mario Tomás Serrafero · Jul 5, 2015 at 11:00 am · 2 comments

Sunday Debate: Which Factors Caused HTC’s Woes?

Join us in a fun Sunday Debate on HTC's situation. Come with your opinions and feel free to read some of our thoughts, then pick your side or play devil’s advocate to get your voice heard and engage in friendly discussion. You can read our food-for-thought or jump straight into the fray below!     HTC is underperforming, and there isn’t much of a way of denying this. In April, their revenue nearly declined 40%, plummeting after the HTC One M9 had...

XDA NEWS
Mathew Brack · Jul 4, 2015 at 05:07 pm · 4 comments

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading speed, audio and selfies. Whilst you are surely astounded that HTC won every time, the tests were incredibly biased and their release shows something concerning about the company and how they are performing in the current market.     One of the many reasons companies tend to utilize blind trials is when they feel that their product is comparable or better than its competitors. This leads to the assumption...

XDA NEWS
Mario Tomás Serrafero · Jul 4, 2015 at 12:00 pm · 5 comments

XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a million apps on the Google Play Store and new apps being submitted to our forums every day, staying up to date on the latest apps and games can be a hassle. At XDA we don’t discriminate apps - if it’s interesting, innovative, original or useful, we mention them. The XDA Portal Team loves apps too, and here are our top picks for this week.  ...

XDA NEWS
Share This