https://kotlinlang.org logo
Title
m

Mike Nakhimovich

12/28/2019, 1:56 AM
You can open apks in Android studio. There is an option to compare to previous apk as well, you should be able to see what the added methods are
r

Rohit Surwase

12/28/2019, 3:31 AM
Yes, I did. The screenshots in the question are of the same, no considerable difference. I am not understanding why addition of referenced methods by each class is not equal to total given in Apk Analyzer?
m

Mike Nakhimovich

12/28/2019, 3:46 AM
Ah sorry did joy click through.
👍 1
w

wasyl

12/29/2019, 3:53 PM
@Rohit Surwase You could open an issue on google tracker, perhaps they’d be able to tell you something. Do you run Proguard/R8 for example? Maybe some transformations change method count?
Btw in the screenshots you provided, did you try going deeper in the
com
module to see specifically the methods that were added?
r

Rohit Surwase

12/29/2019, 4:40 PM
@wasyl Yes, I did. Visibly 3 methods decreased after I moved WebActivity to adapter module but 181 referenced methods increased, I do not know where it came from. I had thought of opening an issue but confused about component/category I should choose. I think I should open an issue by selecting Android Studio as component/category. Thanks for replying.
w

wasyl

12/29/2019, 4:41 PM
I think if you select any issue, at works Google folks will change component to the proper one. I’d choose something under AS/tools I think
Visibly 3 methods decreased after I moved WebActivity to adapter module but 181 referenced methods increased
But if you went deeper into the tree, don’t you see exactly what methods are in which package?
r

Rohit Surwase

12/29/2019, 5:03 PM
Yes, I can see but how does it can help to figure out why there is a miss-match in the referenced method count? There are hundreds of classes so it would be very time consuming to find difference of 3 methods. But I had seen though and there is a considerable difference in adapter (has 18 lesser methods) module only.
I just opened an issue. @wasyl
👍 1
w

wasyl

12/29/2019, 5:11 PM
There are hundreds of classes so it would be very time consuming to find difference of 3 methods
I thought maybe if the methods are grouped by packages/classes, it might be possible to find some new class or class in which the method is generated
r

Rohit Surwase

12/29/2019, 5:13 PM
Package-wise no difference apart from adapter module and that is expected but there are many classes too which I did not look for.
n

nino

01/05/2020, 9:59 PM
it would be interesting to get the link to the issue to stay updated on this @Rohit Surwase
r

Rohit Surwase

01/05/2020, 11:44 PM