Status Update
Comments
vs...@google.com <vs...@google.com> #2
enableUnitTestCoverage = false
enableAndroidTestCoverage false
Thinks started to work again.
But for what it is worth - the error message could have been more helpful.
vs...@google.com <vs...@google.com> #3
Well the error message is that it tried to configure jacoco task and failed, so it works for you because you disabled the feature.
So the error message is indicative of a bigger problem. Oviously, 8.2 is pretty old for us, not sure you are interested in trying 8.8.
The easiest would be to have a project reproducing the issue, if that's possible, we'll look into it.
n....@dxc.com <n....@dxc.com> #4
Unfortunately we haven't had the resources to keep things up to date for a long time - and now every possible problem is just piling up...
I'll get back once we manage to upgrade to 8.8...
hs...@google.com <hs...@google.com>
di...@google.com <di...@google.com> #5
If I understand correctly, this happens when running the application and not in the preview of custom views? Moving to deployment but please do let us know if the problem happens in the Preview of Custom Views.
ac...@google.com <ac...@google.com> #6
The log shows 29 deployments and I pasted part of the log below.
Most of the 29 APKs seems to have a different checksum. All 29 installations were done with a full adb install without any optimizations.
What is puzzling is that 28 deployments happened with an APK with identical size (size='17,340,086'
). The last one is the only one with a different size and it is slightly smaller.
It doesn't sound like expected APK changes for adding custom colors.
Do you roughly remember what were the past 29 changes you were making? Can you demostrate this problem for us by created a smaller example project that can trigger this issue?
2024-12-24 15:12:38,626 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='12818a9521abc18c5a11df698c5670209fc5f84c', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T09:42:38.023677365Z', acTime='2024-12-24T09:42:38.026677391Z'
2024-12-24 15:14:18,571 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='0df1357c5e3dc3a97d076227e2f8d8c19cda41c9', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T09:44:17.953543669Z', acTime='2024-12-24T09:44:17.955543687Z'
2024-12-24 15:15:27,543 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='8740399b3af2929bff3ad951066eacecab083f4d', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T09:45:26.903144276Z', acTime='2024-12-24T09:45:26.927144485Z'
2024-12-24 15:17:43,167 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='2113c440778e23d9ac2e9784e36f5e05a0196671', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T09:47:42.568332698Z', acTime='2024-12-24T09:47:42.570332715Z'
2024-12-24 15:26:44,813 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='216c0b3fe3c73638a244274e04662dba469725b9', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T09:56:44.176134257Z', acTime='2024-12-24T09:56:44.179134281Z'
2024-12-24 15:28:22,294 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='98fad99110190334d6a2217184b60cf1ccc436e8', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T09:58:21.651943423Z', acTime='2024-12-24T09:58:21.654943447Z'
2024-12-24 15:29:23,208 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='02ec73120fcaedf69a4c8f134c9c7b578164eabe', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T09:59:22.557451753Z', acTime='2024-12-24T09:59:22.560451778Z'
2024-12-24 15:36:00,326 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='72845279997e1b644d78cd9a85756b4d66ed4519', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:05:59.725791815Z', acTime='2024-12-24T10:05:59.728791841Z'
2024-12-24 15:36:29,902 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='00a0c02a63ad58b83f060c91315e8e56a078db1e', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:06:29.284040829Z', acTime='2024-12-24T10:06:29.287040855Z'
2024-12-24 15:36:58,173 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='b8c20aaed368c792f04b6ecb7402f1859ac000fb', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:06:57.568279551Z', acTime='2024-12-24T10:06:57.571279576Z'
2024-12-24 15:37:16,880 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='b8c20aaed368c792f04b6ecb7402f1859ac000fb', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:06:57.568279551Z', acTime='2024-12-24T10:06:57.571279576Z'
2024-12-24 15:39:09,764 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='83158ba6e765bde21be2c2452e9d9293e0b62b84', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:09:09.260396624Z', acTime='2024-12-24T10:09:09.262396641Z'
2024-12-24 15:41:34,864 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='1cb968c851d37f39cec36af6170426d07f814a6e', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:11:34.328424047Z', acTime='2024-12-24T10:11:34.333424079Z'
2024-12-24 15:42:27,768 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='cb057bd5fcc0030b38da8b884373b0ba72706852', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:12:27.190757432Z', acTime='2024-12-24T10:12:27.19375745Z'
2024-12-24 15:43:37,698 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='f9cb5004b443ca4312f11da0cf6aaa2cfd6a7e99', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:13:37.144203086Z', acTime='2024-12-24T10:13:37.147203105Z'
2024-12-24 15:43:59,595 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='01a3910e5f9e78ac87ef28d8ed5549821c4073b2', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:13:58.919342838Z', acTime='2024-12-24T10:13:58.922342857Z'
2024-12-24 15:44:44,724 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='f9cb5004b443ca4312f11da0cf6aaa2cfd6a7e99', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:14:43.510630529Z', acTime='2024-12-24T10:14:43.513630549Z'
2024-12-24 15:45:21,795 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='a8597f1decd3013192975e4c5ede4a6201f1b6f4', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:15:20.553871051Z', acTime='2024-12-24T10:15:20.555871064Z'
2024-12-24 15:45:34,186 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='b9ca135f9df05d249e5364d47d04302d49ef8b14', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:15:32.985952084Z', acTime='2024-12-24T10:15:32.988952103Z'
2024-12-24 15:46:01,465 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='8ff7be74173791dfa89a1783faddda31f48f9519', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:16:00.761133674Z', acTime='2024-12-24T10:16:00.763133687Z'
2024-12-24 15:46:18,131 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='c7dcae531c515e28b607fba8c5b4f4331be42d50', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:16:17.603244157Z', acTime='2024-12-24T10:16:17.60524417Z'
2024-12-24 15:46:40,707 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='73c23e54012b0ff1f9662ae6e25a386016e2e76d', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:16:40.11039224Z', acTime='2024-12-24T10:16:40.11339226Z'
2024-12-24 15:47:13,872 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='c7dcae531c515e28b607fba8c5b4f4331be42d50', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:17:13.323611669Z', acTime='2024-12-24T10:17:13.325611683Z'
2024-12-24 15:47:25,460 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='c7dcae531c515e28b607fba8c5b4f4331be42d50', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:17:13.323611669Z', acTime='2024-12-24T10:17:13.325611683Z'
2024-12-24 15:48:17,898 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='c7dcae531c515e28b607fba8c5b4f4331be42d50', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:17:13.323611669Z', acTime='2024-12-24T10:17:13.325611683Z'
2024-12-24 15:48:58,027 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='6c6c2f0cc311f52447125643bea0baa61587d4c3', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:18:57.523307017Z', acTime='2024-12-24T10:18:57.526307037Z'
2024-12-24 15:49:25,254 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='770967d065c1470aa2fd76620dd45ee4f932c5df', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:19:24.098486017Z', acTime='2024-12-24T10:19:24.101486037Z'
2024-12-24 15:50:05,355 ui-lib-test-app-debug.apk', size='17,340,086', fingerprint='930c052a64c0ce62c67e77936824b9110d439f03', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:20:04.735761021Z', acTime='2024-12-24T10:20:04.762761205Z'
2024-12-24 16:24:31,175 ui-lib-test-app-debug.apk', size='17,340,002', fingerprint='5f90823ae0bbc390e0ccb1a2efeaac25202cd4e1', crTime='2024-12-23T09:13:56.839959577Z', modTime='2024-12-24T10:54:30.506855208Z', acTime='2024-12-24T10:54:30.528855414Z'
n....@dxc.com <n....@dxc.com> #7
Can you demostrate this problem for us by created a smaller example project that can trigger this issue? ==> With respect to this question i can give the structure as below
common-ui-lib (common UI component)
setting-ui-lib (component related to preference design) depends on common ui lib
ui-lib-test-app (app which uses common ui lib and setting ui lib).
Note: I have done below action and the issue got resolved but lost all open project history. (may be due to restore default setting).
File -> Manage Ide Settings -> Restore Default Settings
ac...@google.com <ac...@google.com> #8
Thanks for the info.
Not exactly sure but in the 29 changes mostly it was color related or adding some custom view for creating custom preference layout and some were related to setting background on the image view.
I suspect it is very unlikey that 28 changes modifying views, layout, background produced an APK of identical size. I am going to redirect this to the build system team to take a look.
je...@google.com <je...@google.com>
ac...@google.com <ac...@google.com> #9
jedo/cmw, I am seeing something similar here as well: 389067070#comment11
Description
####################################################
Please provide all of the following information, otherwise we may not be able to route your bug report.
####################################################
1. Describe the bug or issue that you're seeing.
I have a module for ui component where custom views are there if i update the class there it's not reflecting in app module.
it's still using the old class which was compiled some time it get updated some time it dose not.
2. Attach log files from Android Studio
I have done invalidate source code, build that module and also build project but not working.
3. If you know what they are, write the steps to reproduce:
create ui module -> add some customview for setting preference and try to use it in xml of application layer.
view is not getting updated still using old compile class for custom view .
In addition to logs, please attach a screenshot or recording that illustrates the problem.
For more information on how to get your bug routed quickly, see
Build: AI-242.23339.11.2421.12700392, 202411222246
AS: Ladybug | 2024.2.1 Patch 3
AI-242.23339.11.2421.12700392, JRE 21.0.3+-12282718-b509.11x64 JetBrains s.r.o., OS Linux(amd64) v6.8.0-49-generic, screens 1920x1080 (100%)
Android Gradle Plugin: 8.4.0-rc02
Gradle: 8.6
Gradle JDK: JetBrains Runtime 17.0.11
NDK: from local.properties: (not specified), latest from SDK: 26.1.10909125
CMake: from local.properties: (not specified), latest from SDK: 3.22.1-g37088a8, from PATH: 3.22.1
Source: send_feedback_icon```