Dexcount task is not called for abi split assemble tasks
See original GitHub issueI have split for native libs in my app:
splits {
abi {
enable true
reset()
include 'armeabi', 'x86', 'x86_64'
universalApk false
}
}
When I’m trying to assemble specific task, dex count is not executed, i.e.:
$ gradlew assembleArmeabiRelease
However it is working fine when I call
$ gradlew assembleRelease
but now it also going to assemble 2 other apk’s, which would be great to avoid doing.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Build task per ABI not working on Gradle plugin 3.0.1?
Yes, all of them! Only the build per ABI task is not working. I never knew there were per-ABI tasks when using splits....
Read more >Dexcount Gradle Plugin
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 >Authoring Tasks - Gradle User Manual
Task has actions and Gradle has determined they should be executed as part of a build. Task has no actions and some dependencies,...
Read more >Custom Tasks - Gradle Recipes for Android [Book] - O'Reilly
You want to call your custom tasks as part of an overall build process. Solution. Use the dependOn property to insert your task...
Read more >AGP 4.1, Gradle 6.7: mergeDebugNativeLibs is not up to date ...
gradlew clean <target> --no-build-cache , but the up-to-date status of this task is random. Note 2: when running with --rerun-tasks we can see...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hm, I knew that it didn’t work properly with splits but I haven’t seen this kind of failure before!
Thanks for reporting, and for the detailed repro steps; I’ll have time to investigate in a few more days.
I’ll assume this is resolved.