Giter Site home page Giter Site logo

Comments (8)

vanniktech avatar vanniktech commented on September 22, 2024

As far as I know gradle sizeDebugApk fails if there is no APK file. gradle assemble sizeDebugApk should work though since it does build the apk.

Can you verify that?

If that's the case, I'd propose a custom message instead of crashing when there is no APK file.

from gradle-android-apk-size-plugin.

vanniktech avatar vanniktech commented on September 22, 2024

Okay I was able to reproduce this one. Though I have the same problem when I'm using the dexcount. Can you execute count<Variant>DexMethods without getting any errors?

from gradle-android-apk-size-plugin.

vanniktech avatar vanniktech commented on September 22, 2024

@jaredsburrows I'll release 0.1.1 later this day and also work on #3 in the next few days

from gradle-android-apk-size-plugin.

jaredsburrows avatar jaredsburrows commented on September 22, 2024

@vanniktech Sounds good! I am looking forward to it.

from gradle-android-apk-size-plugin.

vanniktech avatar vanniktech commented on September 22, 2024

@jaredsburrows I just published the new version to Maven Central and to Gradle Plugins

from gradle-android-apk-size-plugin.

vanniktech avatar vanniktech commented on September 22, 2024

@jaredsburrows automated snapshots are now also working

from gradle-android-apk-size-plugin.

jaredsburrows avatar jaredsburrows commented on September 22, 2024

@vanniktech Nice Job!

:app:root-checker:packageDebug
:app:root-checker:zipalignDebug
:app:root-checker:assembleDebug
Total methods in root-checker-debug.apk: 38083
Total fields in root-checker-debug.apk:  21817
Total APK Size in root-checker-debug.apk in bytes: 3231060 <--- Your plugin

BUILD SUCCESSFUL

from gradle-android-apk-size-plugin.

vanniktech avatar vanniktech commented on September 22, 2024

Thanks. If you run into any issues, let me know. I also updated the README and added some more information.

from gradle-android-apk-size-plugin.

Related Issues (20)

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.