question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dexcount doesn't produce any output

See original GitHub issue

Hi 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: screen shot 2017-07-02 at 21 27 27 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:closed
  • Created 6 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
benjamin-badercommented, Jul 3, 2017

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?

0reactions
benjamin-badercommented, Jul 3, 2017

Great - glad to hear it’s working now!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found