Skip to content

leleliu008/androidx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

androidx

android project helper

Install via package manager

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

Install using shell script

sh -c "$(curl -fsSL https://raw.githubusercontent.com/leleliu008/androidx/master/install.sh)"

Install androidx via cURL

curl -LO https://raw.githubusercontent.com/leleliu008/androidx/master/bin/androidx
chmod a+x androidx
mv androidx /usr/local/bin/

androidx command usage

  • print the help infomation of androidx command

    androidx -h
    androidx --help
    
  • print the version of androidx

    androidx -V
    androidx --version
    
  • integrate zsh-completion script

    androidx integrate zsh
    

    I have provide a zsh-completion script for androidx. when you've typed androidx then type TAB 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