Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 551 Bytes

File metadata and controls

8 lines (6 loc) · 551 Bytes

How to build an APK

The APK is built using Java Compiler (javac), DEX compiler (dx), Android Asset Packaging Tool (aapt) and APK Packager.

  1. javac compile R.java + aidl files + Android Java classes to Java .class bytecode.
  2. dx tool convert them to .dex Dalvik EXecutable bytecode files.
  3. aapt pack resources into binary assets and put to APK Packager.
  4. APK packager use bytecode, resources package to generate APK and sign APK using keystore.