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.
Mathew Brack · May 28, 2015 at 09:59 pm · 4 comments

I/O Summary: How Android M Handles Power And Charging

In the spirit of improving the core Android experience, Google is changing Android M to be smarter about managing power. Their new Doze feature comprises of two primary roles which allow Android to use motion detection in order to predict activity, and go into deep sleep at the right time based on accelerometer readings.   In order to extend your screen off battery life, Android M will now monitor your activity levels and if it detects that your device has...

XDA NEWS
Mario Tomás Serrafero · May 28, 2015 at 09:51 pm · 3 comments

I/O Summary: Google Photos App

At I/O 2015, Google tackled the information problem in mobile once more, this time through pictures: “how incredible is it that we all have a camera in our pockets at any moment? (...) These moments tell your story (...)[but] taking more pictures and videos makes it harder to relieve memories due to the sheer volume”. This is why they are revamping Google Photos and centering it around 3 big ideas:   Creating a home for all photos and videos that is...

XDA NEWS
Mario Tomás Serrafero · May 28, 2015 at 09:26 pm · 4 comments

I/O Summary: Development, Play Store, The Next Billion

VP of Engineering Jen Fitzpatrick began talking about what Google is doing to help “the next billion” come online. More and more people are getting their first smartphone, and for many people this first phone will be their first computer.   The majority of the next billion will be Android users and they “want to remove the barriers of smartphone adoption”. While there are huge displays of phones on sale, not all are able to run the latest and greatest...

XDA NEWS
Share This