Status Update
Comments
vm...@google.com <vm...@google.com>
aa...@google.com <aa...@google.com> #2
I am not sure I understand the use case. how can the benchmark be code to real world scenario when it's not possible to do right now ? which scenario is it ?
In any case, since this would be for benchmarking, this would clearly not be available through the public DSL. We should find a semi-private way of doing this (maybe the private variant API object could offer that functionality for instance or a property).
aa...@google.com <aa...@google.com> #3
We want benchmarks to measure code after Progaurd / R8, but it's not possible to turn that on for androidTests in library modules at the moment (to my knowledge?)
Benchmarks are also a public facing thing, but we have a plugin to help configure gradle builds for our users, so if support for this ends up in a private API, we could try to keep those usages localized to our code perhaps.
an...@google.com <an...@google.com> #4
Any update on the status of this request and when it can be supported?
Thanks,
Amanda
on...@gmail.com <on...@gmail.com> #5
this is not part of our OKR at this point so we are not talking soon. at first glance, we would need to simulate usage patterns to minify against and such, this seems substantial amount of work. there are not a lot of library module that have android tests, most only rely on unit-tests.
how important is this ? we are out of PM right now but I suspect the next step will be to negotiate with J. Eason and xav@ to scale a priority level.
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 build and run android app on Physical or Virtual android device. Then proceed to open App inspection window, and select debuggable app and waited for a couple of minutes for database inspector to load. However nothing happens. See attached screenshot.
Also stopping and restarting inspection crashes the app See logcat dump.
App is debuggable and I am using a device running API level 34
2. Attach log files from Android Studio
2A. In the IDE, select the Help..Collect Logs and Diagnostic Data menu option.
2B. Create a diagnostic report and save it to your local computer.
2C. Attach the report to this bug using the Add attachments button.
3. If you know what they are, write the steps to reproduce:
3A. Build and run an android app on a physical device or emulator
3B. Open App inspection window
3C. Wait for a couple of minutes and Database Inspector fails to load
3D. Click stop inspection and restarting inspection by selecting a debuggable app crashes the app
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-241.18034.62.2412.12266719, 202408222329
AS: Koala Feature Drop | 2024.1.2
AI-241.18034.62.2412.12266719, JRE 17.0.11+0-17.0.11b1207.24-11852314x64 JetBrains s.r.o., OS Mac OS X(x86_64) v14.6.1, screens 1920.0x1080.0
Android Gradle Plugin: 8.6.0
Gradle: 8.7
Gradle JDK: Oracle OpenJDK 18.0.2
NDK: from local.properties: (not specified), latest from SDK: (not found)
CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: 3.30.2
```