Dexcount doesn't produce any output
See original GitHub issueHi all!
I use last version of dexcount on my new Android project and I can’t see any output from plugin in my outputs/
folder. Also ./gradlew assembleDebug
produces me only this output:
My build.gradle (app)
looks like that:
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
apply from: '../versioning.gradle'
apply plugin: 'realm-android'
apply plugin: 'com.getkeepsafe.dexcount'
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.fabric.io/public'
}
}
dependencies {
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'io.fabric.tools:gradle:1.+'
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.7.1'
}
}
....
What I’m doing wrong?
Issue Analytics
- State:
- Created 6 years ago
- Comments:8
Top Results From Across the Web
Android Gradle dexcount-gradle-plugin - Stack Overflow
I am using Android Studio 2.0 Stable version. This is my project level build.gradle file : // Top-level build file where you can...
Read more >Efficiently reducing your method count - Jeroen Mols
The easiest and most attractive way (imho) to visualize the method count is by using the Dexcount Gradle Plugin. Applying it to your...
Read more >Options - Dexcount Gradle Plugin
Dexcount is configurable via a Gradle extension (shown with default values): ... dexcount { // When false, no build outputs will be counted....
Read more >dexcount-gradle-plugin: A Gradle plugin to report the number ... - Gitee
A Gradle plugin to report the number of method references in your APK, AAR, or java module on every build. This helps you...
Read more >dex2oat/dex2oat_test.cc - platform/art - Git at Google
TODO: Ignore for now, as we won't capture any output (it goes to the logcat). ... Test that dex2oat doesn't crash with speed-profile...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the build log. Sadly, it doesn’t contain any obvious problem.
One thing I notice is that the dexcount task is definitely being run, but it finishes really quickly - so quickly, that I wonder if it just can’t find your APK. Are you possibly moving or renaming the APK file in a
doLast
block or something?Great - glad to hear it’s working now!