App size is an important metric which directly correlates with business metrics like install conversion rate. Measuring app size is straightforward, but knowing what contributes to it is not. Especially in bigger projects with hundreds or thousands of modules and third-party dependencies. Ruler provides a convenient way to find out how much each module and dependency contributes to the total size of your app by running a single Gradle task. First you need to add the Ruler Gradle plugin to the buildscript classpath in your top-level build.gradle file. When using app bundles, Google Play will generate optimized APKs for each device. This means that the size of an APK depends on the specifications of the device that's downloading it. You can configure which device specifications should be used for the analysis in the build.gradle of your application module.

Features

  • App size is an important metric which directly correlates with business metrics like install conversion rate
  • Ruler is a Gradle plugin which helps you analyze the size of your Android apps
  • You also have to apply the plugin in the build.gradle of your application module
  • When using app bundles, Google Play will generate optimized APKs for each device
  • Core Gradle plugin where the APK parsing, dependency handling and attribution logic lives
  • Compatible with Gradle 7.0 or above
  • Compatible with Android Gradle Plugin 7.0.0 or above

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Ruler

Ruler Web Site

Other Useful Business Software
Managed MySQL, PostgreSQL, and SQL Databases on Google Cloud Icon
Managed MySQL, PostgreSQL, and SQL Databases on Google Cloud

Get back to your application and leave the database to us. Cloud SQL automatically handles backups, replication, and scaling.

Cloud SQL is a fully managed relational database for MySQL, PostgreSQL, and SQL Server. We handle patching, backups, replication, encryption, and failover—so you can focus on your app. Migrate from on-prem or other clouds with free Database Migration Service. IDC found customers achieved 246% ROI. New customers get $300 in credits plus a 30-day free trial.
Try Cloud SQL Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Ruler!

Additional Project Details

Programming Language

Kotlin

Related Categories

Kotlin Frameworks, Kotlin Browser Extensions and Plugins

Registered

2023-02-23