Coder Social home page Coder Social logo

Comments (4)

benjamin-bader avatar benjamin-bader commented on June 17, 2024

Hm, definitely seems like a bug in the SNAPSHOT build. Does the plugin run under stable builds of Android Studio for the same project?

from dexcount-gradle-plugin.

jdrider avatar jdrider commented on June 17, 2024

I updated the title. I've been using the 0.2.0-SNAPSHOT build since June 15th and this exception only came up when I upgraded to AS 1.3RC1 so I thought they were related. I now see it was just a coincidence and the changes from 123688a is where the issue came from.

No, I went back to an earlier version of Android Studio and got the same error with the snapshot build.

from dexcount-gradle-plugin.

benjamin-bader avatar benjamin-bader commented on June 17, 2024

I just updated master. Among the changes are what should be a bugfix.

It's hard to say without having seen the input to the plugin from your project (i.e. all of the classnames), but I'm guessing that you had classes with unusual names - $$GeneratedClass$$ or the like - which is the only thing thing I can think would have caused this exception. The updated version no longer attempts to prettify class names, so these should work fine.

Let me know if you still see problems.

from dexcount-gradle-plugin.

jdrider avatar jdrider commented on June 17, 2024

That's highly likely. I use Butterknife and Retrolambda so I have classes with names like Class$$ViewBinder$1.class and Class$$Lambda$1.class.

I tried the latest snapshot build and it is working now.

from dexcount-gradle-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.