SkillAgentSearch skills...

DexHelper

Gradle Plugin to analyze per-dex with Android assemble command.

Install / Use

/learn @ximsfei/DexHelper
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

DexHelper

中文版

Simple Gradle Plugin to analyze per-dex in an Android Package, which generated by assemble command, to aid in getting under the 65,536 referenced method limit.

Integration

Dependencies

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.3.3'
        classpath 'com.ximsfei:dexhelper:0.0.1'
    }
}

Apply Plugin

apply plugin: 'com.android.application'
apply plugin: 'com.ximsfei.dexhelper'

Run With Gradle

$ ./gradlew assemble -q
  DexHelper: apk file -> app-debug.apk
  DexHelper: dex file -> classes.dex
  DexHelper: method size -> 27022
  DexHelper: apk file -> app-release-unsigned.apk
  DexHelper: dex file -> classes.dex
  DexHelper: method size -> 27021

License Apache

View on GitHub
GitHub Stars19
CategoryDevelopment
Updated4y ago
Forks3

Languages

Groovy

Security Score

80/100

Audited on Dec 2, 2021

No findings