LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

jetifier

migrates Android libraries from Support Library to AndroidX

TLDR

Convert AAR to AndroidX
$ jetifier-standalone -i [lib.aar] -o [lib-androidx.aar]
copy
Convert JAR
$ jetifier-standalone -i [lib.jar] -o [lib-androidx.jar]
copy
Reverse conversion
$ jetifier-standalone -r -i [lib-androidx.aar] -o [lib.aar]
copy
List mappings
$ jetifier-standalone -l
copy
Verbose mode
$ jetifier-standalone -v -i [input] -o [output]
copy

SYNOPSIS

jetifier-standalone [options] -i input -o output

DESCRIPTION

jetifier migrates Android libraries from Support Library to AndroidX. It rewrites bytecode and resources to use new package names.The tool enables using older libraries with AndroidX projects. It processes AAR and JAR files automatically.

PARAMETERS

-i FILE

Input AAR/JAR file.
-o FILE
Output file.
-r, --reversed
Reverse conversion (AndroidX to Support Library).
-l
List class mappings.
-c FILE
Custom configuration file for mappings.
-v
Verbose output.
--help
Display help information.

CAVEATS

Part of Android SDK. Forward migration (Support to AndroidX) is preferred. Some libraries may not be fully compatible. Jetifier is considered legacy as most libraries have migrated to AndroidX natively.

HISTORY

jetifier was created by Google to assist in the Android Support Library to AndroidX migration introduced in 2018.

SEE ALSO

gradle(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid