Skip to content

yoheiy/android-build-sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android command line build example

To build:

make

Output APK file is out/signed.apk.

It automatically create key store if not given.

It depends on some Debian Packages:

  • aapt: /usr/lib/android-sdk/build-tools/debian/aapt
  • apksigner: /usr/lib/android-sdk/build-tools/debian/apksigner
  • dalvik-exchange: /usr/lib/android-sdk/build-tools/debian/dx
  • ecj: /usr/bin/ecj, OR
  • openjdk-11-jdk-headless: /usr/lib/jvm/java-11-openjdk-amd64/bin/javac
  • openjdk-11-jre-headless: /usr/lib/jvm/java-11-openjdk-amd64/bin/keytool