Status Update
Comments
ha...@google.com <ha...@google.com>
lo...@gmail.com <lo...@gmail.com> #2
ga...@google.com <ga...@google.com>
zi...@gmail.com <zi...@gmail.com> #3
am...@google.com <am...@google.com> #4
A work-around is proposed in StackOverflow:
al...@truecaller.com <al...@truecaller.com> #5
Since it's available in pure mailbox view is that such a big effort to make it available also in Google Script?
ke...@gmail.com <ke...@gmail.com> #6
mi...@gmail.com <mi...@gmail.com> #7
sp...@google.com <sp...@google.com> #8
am...@pspdfkit.com <am...@pspdfkit.com> #9
ar...@google.com <ar...@google.com> #10
I have resolved the same issue :)
an...@google.com <an...@google.com> #13
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Iguana | 2023.2.1 Canary 7
- Android Gradle Plugin 8.3.0-alpha07
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
go...@gmail.com <go...@gmail.com> #14
sk...@gmail.com <sk...@gmail.com> #15
Please consider backporting to Hedgehog betas. Without it, we will have to live many months without the workaround.
je...@google.com <je...@google.com> #16
This was cherrypicked into H-RC1
lu...@gmail.com <lu...@gmail.com> #17
an...@google.com <an...@google.com> #18
The fixes for this issue are now also available in:
- Android Studio Hedgehog | 2023.1.1 RC 1
- Android Gradle Plugin 8.2.0-rc01
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
ig...@monzo.com <ig...@monzo.com> #19
Android Studio Hedgehog | 2023.1.1 RC 1
Android Gradle Plugin 8.2.0-rc01
Unfortunately, the app was still removed after running the test.
I've tried even the latest Iguana nightly. Same results.
da...@gmail.com <da...@gmail.com> #20
The issue is reproduced.
dm...@gmail.com <dm...@gmail.com> #21
It solved the problem!
woho!
thx!
sh...@gmail.com <sh...@gmail.com> #22
Updated AGP to 8.2
Added "android.injected.androidTest.leaveApksInstalledAfterRun=true" to gradle.properties
Now the app is not uninstalled after running my Unit testing.
Thanks
sh...@gmail.com <sh...@gmail.com> #23
mg...@gmail.com <mg...@gmail.com> #24
If I understand correctly, don't instrumented tests have at least 2 APKs? One for the app, and one for the test runner? Can we configure AGP to uninstall the test runner but not the app?
Description
1. Describe the bug or issue that you're seeing.
AGP 8.1.0 uninstalls app after running instrumented tests - 7.4.2 does not
3. If you know what they are, write the steps to reproduce:
Install a debug variant of your app onto a device.
Run instrumented tests targeted that app.
In AGP < 8.x, the app was kept on the device (expected behavior).
In AGP >= 8.x, the app is uninstalled.
Build: AI-223.8836.35.2231.10406996, 202306290837
AI-223.8836.35.2231.10406996, JRE 17.0.6+0-17.0.6b829.9-10027231x64 JetBrains s.r.o., OS Mac OS X(aarch64) v13.5, screens 3456.0x2234.0, 2560.0x1440.0, 2560.0x1440.0
AS: Giraffe | 2022.3.1
Kotlin plugin: 223-1.8.0-release-345-AS8836.35.2231.10406996
Android Gradle Plugin: 8.1.0
Gradle: 8.1
Gradle JDK: JetBrains Runtime version 17.0.6
NDK: from local.properties: (not specified), latest from SDK: (not found)
CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
```