Giter Site home page Giter Site logo

quintushorace / size-analyzer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from morristech/size-analyzer

0.0 1.0 0.0 6.1 MB

The size-analyzer is a tool to help developers find tips on how to reduce the size of their Android application.

License: Apache License 2.0

Java 100.00%

size-analyzer's Introduction

Size Analyzer

The Size Analyzer is a tool for developers to understand the size of their Android application.

How to build the size analyzer

The tool can be built using gradle. An executable jar can be built using the command below:

./gradlew :analyzer:executableJar

How to use the size analyzer

The executable jar can be run against either an Android Studio project or an Android App Bundle.

java -jar analyzer/build/libs/analyzer.jar check-bundle <path-to-aab>
java -jar analyzer/build/libs/analyzer.jar check-project <path-to-project-directory>

Android Studio Plugin

The Size Analyzer is also available in an Android Studio plugin format. This can be built with the buildPlugin task in gradle:

./gradlew :studio_plugin:buildPlugin

This will produce a JAR file that can be installed from the gear menu's 'Install Plugin from Disk...' option in the Plugins pane of Android Studio's Settings dialog.

Alternatively, it can be downloaded and installed from the Jetbrains plugin marketplace in Android Studio.

Once installed, you can invoke the Size Analyzer on the currently loaded project from the 'Analyze App Size...' menu item in the 'Analyze' menu in Android Studio.

Binary distributions

Pre-built distributions of this tool will be made available with each release on our releases page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.