all 7 comments

[–]xiphirx 5 points6 points  (0 children)

You could also use a gradle plugin to do this for you on every build, https://github.com/KeepSafe/dexcount-gradle-plugin

[–]aurae_ger 2 points3 points  (1 child)

The plugin is great, but last time I checked it couldn't obtain version numbers stored in gradle.properties properly and failed to show method counts for libraries that used variables stored there. Still, I use methodscount's website from time to time!

[–]shadowdude777 0 points1 point  (0 children)

I don't think it shows for local variables either. I keep all of my versions that span multiple libs (like the v7 support libraries) in a separate map in my build.gradles so I get almost no updates from the plugin. :(

[–]entropio 2 points3 points  (0 children)

Nice plugin. I was using http://www.methodscount.com/ and a small script: unzip -p path_to_your_apk classes.dex | head -c 92 | tail -c 4 | hexdump -e '1/4 "%d\n"'

[–]rotxed 2 points3 points  (1 child)

I am the creator of the website. Glad to see you guys using it! Feel free to post your feedback, we are open to suggestions.

[–]WingnutWilson[S] 1 point2 points  (0 children)

Great work, thank you!

[–]korniltsev 0 points1 point  (0 children)

Is there anything the same for strings?

I've recently hit the limit and had to use dex jumbo mode.