android project helper
OS | PackageManager | Installation Instructions |
---|---|---|
macOS |
HomeBrew | brew tap leleliu008/fpliu brew install androidx |
GNU/Linux |
LinuxBrew | brew tap leleliu008/fpliu brew install androidx |
ArchLinux ArcoLinux Manjaro Linux Windows/msys2 |
pacman | curl -LO https://github.com/leleliu008/androidx/releases/download/v0.1.0/androidx-0.1.0-1-any.pkg.tar.gz pacman -Syyu --noconfirm pacman -U androidx-0.1.0-1-any.pkg.tar.gz |
Windows/WSL |
LinuxBrew | brew tap leleliu008/fpliu brew install androidx |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/leleliu008/androidx/master/install.sh)"
curl -LO https://raw.githubusercontent.com/leleliu008/androidx/master/bin/androidx
chmod a+x androidx
mv androidx /usr/local/bin/
-
print the help infomation of
androidx
commandandroidx -h androidx --help
-
print the version of
androidx
androidx -V androidx --version
-
integrate
zsh-completion
scriptandroidx integrate zsh
I have provide a zsh-completion script for
androidx
. when you've typedandroidx
then typeTAB
key, it will auto complete the rest for you.Note: to apply this feature, you may need to run the command
autoload -U compinit && compinit
-
upgrade this software
androidx upgrade-self
-
show keystore's content of a android project
androidx show keystore androidx show keystore /android/project/path
-
show version info of a apk file
androidx show version ~/xx.apk
-
build the android project and do some extra works
androidx build androidx build --project-dir=. --build-type=debug androidx build --project-dir=. --build-type=release --webp --redex --resguard --channels=zip --install
-
repack a given apk file
androidx repack --input-file=~/xx.apk --build-type=debug androidx repack --input-file=~/xx.apk --build-type=release --webp --redex --resguard --channels=zip --install