Status Update
Comments
ha...@google.com <ha...@google.com>
lo...@gmail.com <lo...@gmail.com> #2
i donnot understand why is the data the same?
ga...@google.com <ga...@google.com>
zi...@gmail.com <zi...@gmail.com> #3
am...@google.com <am...@google.com> #4
What steps are needed to reproduce this issue? Frequency of occurrence?
Which Android build are you using? (e.g. AP4A.241205.013.A1)
Which device did you use to reproduce this issue?
Can you confirm if this issue is reproducible on a Pixel/Nexus device?
Please provide a sample project or apk to reproduce the issue. Also mention the steps to be followed for reproducing the issue with the given sample project or apk.
Android bug report (to be captured after reproducing the issue)
For steps to capture a bug report, please refer:
Alternate method
Navigate to “Developer options”, ensure “USB debugging” is enabled, then enable “Bug report shortcut”. Capture bug report by holding the power button and selecting the “Take bug report” option.
Note: Please upload the bug report and screenshot to google drive and share the folder to android-bugreport@google.com, then share the link here.
al...@truecaller.com <al...@truecaller.com> #5
Please provide the requested information to proceed further. Unfortunately the issue will be closed within 7 days if there is no further update.
ke...@gmail.com <ke...@gmail.com> #6
for example,we hava 100 users.
20 users returned the same location information, longitude is 121.474000 and latitude is 31.230001。
30 users returned the same location information, longitude is 122.474000 and latitude is 32.230001。
15 users returned the same location information, longitude is 120.474000 and latitude is 30.230001。
as for Android build,all versions have it.
I dont reprodouce this issue.
what may be the cause of this issue?please
mi...@gmail.com <mi...@gmail.com> #7
We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
sp...@google.com <sp...@google.com> #8
Thanks for reporting this issue.
COARSE_LOCATION typically takes location information from the nearby cell tower. If many users are near the same cell tower, each of those users will be given the same position. Using a FINE position will give much more detailed information.
Also, in certain areas, for privacy reasons, a less-exact location will be given, and that less-exact location might be identical for many users. Again, a fine-location configuration will return more precise location data.
am...@pspdfkit.com <am...@pspdfkit.com> #9
We believe with reference to the above comment, your query has been answered, hence closing the bug. Please feel free to re-open the issue in the future if desired.
ar...@google.com <ar...@google.com> #10
ya...@google.com <ya...@google.com> #11
Added android.injected.androidTest.leaveApksInstalledAfterRun
field in gradle.properties. Setting this field to false indicates that in the current project, all the APKs installed during test will be uninstalled after test finishes. Setting it to true means that AGP will leave the test APKs untouched after test. Default is false
sp...@google.com <sp...@google.com> #12
Added android.injected.androidTest.leaveApksInstalledAfterRun field in gradle.properties.
This will be available starting in AGP 8.3.0-alpha07
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)
```