Comments (8)
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.
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.
@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.
@vanniktech Sounds good! I am looking forward to it.
from gradle-android-apk-size-plugin.
@jaredsburrows I just published the new version to Maven Central and to Gradle Plugins
from gradle-android-apk-size-plugin.
@jaredsburrows automated snapshots are now also working
from gradle-android-apk-size-plugin.
@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.
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)
- JDK 7 support for CI builds HOT 3
- Add some tests HOT 1
- Add AAR library support HOT 1
- Update README regarding Java 8 / 7
- Auto deploy SNAPSHOT version
- How can you use it from the plugins repo? HOT 4
- Does not find APK files if I rewrite the variable outputs outputFile HOT 6
- java.lang.NoClassDefFoundError: org/gradle/logging/StyledTextOutput$Style HOT 3
- Print without using a commandline task HOT 1
- Use Spock for Testing HOT 3
- Show Megabytes next to bytes for command line print out HOT 1
- Use Coveralls instead of CodeCov HOT 4
- [Feature Request] Fail build on "maxApkSize" HOT 19
- Gradle 4.0-milestone1 + Android Gradle tools 3.0.0-alpha3 Breaks With Error HOT 4
- [README] - Fix misleading README
- Move Gradle plugin to Kotlin? HOT 7
- [Feature Request] - Do not run the count on each build HOT 6
- Obsolete API warning HOT 4
- Incompatibility issue with Gradle configuration cache HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle-android-apk-size-plugin.