Skip to content

JLLK/ClassDependenceAnalyser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClassDependenceAnalyser

A tool for java classes dependence analysis

Purpose

This is the way to sovle the main dex capacity exceeded problem in google's multidex library. We can use it to generate a better maindexlist file in order to keep the size of main dex minimum.

Usage

For example:

gradle run -PappArgs=-e,/your/path1/here/root.jar,/your/path2/here/allclasses.jar

You can get more info:

gradle run -PappArgs=-h

And you'll find:

Usage: jda [arguments] targetClass [dependenceJarPath]...
find and print the input class dependence.
Example: jda -c,android.app.Application,/your_path/android.jar
         jda -e,/your_path/rootclass.jar,/your_path/allclasses.jar

The arguments are:

   -c, --class    analysis class dependence from single class file or from jar path
   -e, --external analysis class dependence external from <clinit> and innerClass
   -h, --help     print jda help info
   -v, --version  print jda version

License

This tool is licensed under GPL license. See LICENSE for details.

About

A tool for java classes dependence analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published