Status Update
Comments
ze...@google.com <ze...@google.com>
ze...@google.com <ze...@google.com> #2
i donnot understand why is the data the same?
ap...@google.com <ap...@google.com> #3
ze...@google.com <ze...@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.
ap...@google.com <ap...@google.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.
ap...@google.com <ap...@google.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
ap...@google.com <ap...@google.com> #7
We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
ap...@google.com <ap...@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.
ap...@google.com <ap...@google.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.
ap...@google.com <ap...@google.com> #10
ap...@google.com <ap...@google.com> #11
Branch: 8.0
commit 5f3b6be71286d1d9e4c86685d4fe1e8b08764e2d
Author: Ian Zerny <zerny@google.com>
Date: Tue Aug 15 14:15:16 2023
Version 8.0.62
Bug:
Change-Id: Iba1c411ab51e9c31b3c86102d2c4a2c93baf8872
M src/main/java/com/android/tools/r8/Version.java
ap...@google.com <ap...@google.com> #12
Branch: 8.0
commit 650a62f183e4adeb4589a23646e26299bde21806
Author: Ian Zerny <zerny@google.com>
Date: Tue Aug 15 14:15:04 2023
Bail out of control-flow analysis on error states
This also changes the worklist usage to avoid pushing duplicates.
Bug:
Change-Id: I924e91f169a15eaf196647044a183917d2e57a83
M src/main/java/com/android/tools/r8/ir/analysis/framework/intraprocedural/AbstractTransferFunction.java
M src/main/java/com/android/tools/r8/ir/analysis/framework/intraprocedural/IntraProceduralDataflowAnalysisBase.java
M src/main/java/com/android/tools/r8/optimize/interfaces/analysis/CfFrameState.java
M src/main/java/com/android/tools/r8/optimize/interfaces/analysis/CfOpenClosedInterfacesAnalysis.java
ze...@google.com <ze...@google.com> #13
Thanks again for the report!
A fix for this has landed on our 4.0 branch targeting AGP 7.4. To enable it for your build you can amend your settings.gradle(.kt) with:
pluginManagement {
buildscript {
repositories {
mavenCentral()
maven {
url = uri("https://storage.googleapis.com/r8-releases/raw")
}
}
dependencies {
classpath("com.android.tools:r8:4.0.67")
}
}
}
Fixes for later branches will land shortly. Let us know if this resolves your issue or if it fails to do so.
ap...@google.com <ap...@google.com> #14
Branch: 8.2
commit 6f05498db081de4a171cb4a025aa8d829c5951cb
Author: Ian Zerny <zerny@google.com>
Date: Tue Aug 15 14:16:38 2023
Bail out of control-flow analysis on error states
This also changes the worklist usage to avoid pushing duplicates.
Bug:
Change-Id: I924e91f169a15eaf196647044a183917d2e57a83
M src/main/java/com/android/tools/r8/ir/analysis/framework/intraprocedural/AbstractTransferFunction.java
M src/main/java/com/android/tools/r8/ir/analysis/framework/intraprocedural/IntraProceduralDataflowAnalysisBase.java
M src/main/java/com/android/tools/r8/optimize/interfaces/analysis/CfFrameState.java
M src/main/java/com/android/tools/r8/optimize/interfaces/analysis/CfOpenClosedInterfacesAnalysis.java
ap...@google.com <ap...@google.com> #15
Branch: 8.1
commit 76937f44debe9453fe990ac539b284034c8124b9
Author: Ian Zerny <zerny@google.com>
Date: Tue Aug 15 14:15:53 2023
Bail out of control-flow analysis on error states
This also changes the worklist usage to avoid pushing duplicates.
Bug:
Change-Id: I924e91f169a15eaf196647044a183917d2e57a83
M src/main/java/com/android/tools/r8/ir/analysis/framework/intraprocedural/AbstractTransferFunction.java
M src/main/java/com/android/tools/r8/ir/analysis/framework/intraprocedural/IntraProceduralDataflowAnalysisBase.java
M src/main/java/com/android/tools/r8/optimize/interfaces/analysis/CfFrameState.java
M src/main/java/com/android/tools/r8/optimize/interfaces/analysis/CfOpenClosedInterfacesAnalysis.java
Description
Attached file is a minimal reproducible example. It was created in the latest Android Studio (Hedgehog Canary 15). Template was a Kotlin project with no activity.
Three files were changed:
build.gradle.kts
settings.gradle.kts
proguard-rules.pro (I'm not sure if all rules are necessary to cause the bug)
Steps to reproduce
Expected behaviour
Actual behaviour
:app:minifyReleaseWithR8
and never finishes, even after 14 hoursBuild machine
Additional information