Former Writer · Sep 16, 2012 at 02:00 pm

Beginner’s Guide to Compiling and Decompiling APKs

Over the last several months, we at XDA have been on kind of a teaching binge. By bringing a number of tutorials to the front page, we hope to help point budding developers to tools and resources that may help in future projects and ultimately result in more development work shared with the community. As the old adage goes: the more the merrier, right? Now, there’s an updated tutorial on the basic compiling and decompiling of APK files.

Written by XDA Forum Member aguha1044, the guide is very simple to follow. It is written for Windows users, which is a little different as most guides require Linux in some form or another. In order to follow it, users will need 7zip, APKTool, and Java installed on their computer. It also requires some familiarity with command line interfaces.

Once the pre-requisites have been met, users will be run through the process of decompiling and recompiling an APK. It doesn’t show how to actually modify the APKs, but that’s a project for other tutorials. In addition to the basics, aguha1044 has also posted some workarounds to common problems to ensure the APKs actually work afterward.

To get started, head over to the original thread.


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

Former Writer

Former Writer is an editor on XDA-Developers, the largest community for Android users. View Former Writer's posts and articles here.
Mario Tomás Serrafero · Mar 31, 2015 at 11:55 am · 2 comments

Xiaomi Finally Releases Kernel Sources

If you are familiar with Xiaomi, you might have heard that they are not the most compliant when it comes to the General Public License that makes the core of Android open to us. The terms of the GPLv2 state that since the Android kernel is based on the Linux kernel, which is licensed under GPL,v2 Android has to be open-source for everyone to study or modify, and those that modify the Android kernel have to make their sources immediately available for...

XDA NEWS
Faiz Malkani · Mar 31, 2015 at 10:59 am · 2 comments

Xiaomi Announces Redmi 2A and More for 5th Anniversary

Xiaomi was founded on April 6th, 2010 and its fifth anniversary is just around the corner. In the past five years, the company has grown by leaps and bounds, rising to the positions of largest smartphone OEM in China and third-largest globally and coupled with its expansion plans and 100 million sales benchmark, this anniversary warranted a fervent celebration. After teasing products on its forums for a few days, Xiaomi held the anniversary event earlier today and staying true to the...

XDA NEWS
Tomek Kondrat · Mar 31, 2015 at 10:00 am · 2 comments

The History of Flagships: Part III – HTC

A few months ago, we came up with the idea of presenting the history of flagship devices released by some of the major Android OEMs. In this, we've had the pleasure of bringing you the stories of Sony (Ericsson) and Samsung. Now, it's time for our third and final installment. This is a very special episode, as the OEM I will talk about was heavily connected to Android and the beginnings of XDA as a whole. Yes, I'm talking about HTC, the...

XDA NEWS
Share This