Comments (4)
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.
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.
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.
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)
- Split DexCountTask into package-tree-producing and stdout-printing tasks
- Add a high-fidelity serialized format for PackageTree HOT 1
- Github CI actions
- Serialized PackageTree is too big on disk HOT 2
- Document new minimum Gradle version
- Document new minimum AGP version
- Move DexMethodCountPluginSpec to integrationTest sources
- Crash when running in Android Studio 4.0.1
- The new count* tasks do not upload the Proguard mapping file to Crashlytics HOT 1
- Build fails with AS 4.2-Canary HOT 4
- [AGP 4.2+] java.lang.NoSuchMethodError: 'void com.android.build.api.dsl.ApplicationExtension.onVariantProperties(kotlin.jvm.functions.Function1)' HOT 12
- Convert to Java, use Worker API HOT 4
- Release version with AGP 7.0 support. HOT 5
- Plugin Extensions property getters clash with fields when used in Groovy HOT 2
- Build failure with 3.x.x HOT 5
- I have an error: "Cannot convert relative path summary.csv to an absolute file. " HOT 6
- Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'OutputFormat' for extension 'dexcount' of type com.getkeepsafe.dexcount.DexCountExtension. HOT 8
- [Feature Request] Allow Dexcount Gradle plugin to be configured from "plugins" DSL HOT 4
- Consider dropping support for AGP < 4.1 HOT 1
- OutputFormat configuration not clear defined in the documentation 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 dexcount-gradle-plugin.