Fixed
Status Update
Comments
am...@google.com <am...@google.com>
je...@google.com <je...@google.com>
sp...@google.com <sp...@google.com>
sp...@google.com <sp...@google.com> #2
for example, many different devices return the same longitude and latitude.such as : longitude is 121.474000 and latitude is 31.230001.
i donnot understand why is the data the same?
i donnot understand why is the data the same?
an...@google.com <an...@google.com> #3
the fractional part of the location data is exactly the same.
ma...@gmail.com <ma...@gmail.com> #4
Thank you for reporting this issue. For us to further investigate this issue, please provide the following additional information:
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:https://developer.android.com/studio/debug/bug-report#bugreportdevice
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.
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.
Description
STEPS TO REPRODUCE:
1. Bump project from AGP `8.3.0-alpha01` to AGP `8.3.0-alpha02`
2. Run `./gradlew lint`
3. The build fails with
```
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':example-activity-alias:lintDebug'.
> Lint found errors in the project; aborting build.
Fix the issues identified by lint, or create a baseline to see only new errors.
To create a baseline, run `gradlew updateLintBaseline` after adding the following to the module's build.gradle file:
```
android {
lint {
baseline = file("lint-baseline.xml")
}
}
```
For more details, see
~{...}/easylauncher-gradle-plugin/sample/adaptive-support/build/intermediates/lint_partial_results/debug/out/lint-resources.xml: Error: Failed to deserialize cached resource repository.
This is an internal lint error which typically means that lint is being passed a
serialized file that was created with an older version of lint or with a different
set of path variable names. Attempting to gracefully recover.
The serialized content was:
Stack: java.lang.IllegalStateException: Path variable ${:adaptive-support*debug*MAIN*sourceProvider*0*resDir*0} referenced in ${:adaptive-support*debug*MAIN*sourceProvider*0*resDir*0}/layout/activity_main.xml not provided to serialization:PathVariables.fromPathString(PathVariables.kt:144)←PathVariables.fromPathString$default(PathVariables.kt:128)←LintResourcePersistence.deserialize(LintResourcePersistence.kt:401)←LintResourceRepository$Companion.getOrCreateRepository(LintResourceRepository.kt:464)←LintResourceRepository$Companion.getForProjectOnly(LintResourceRepository.kt:519)←LintResourceRepository$Companion.createRepository(LintResourceRepository.kt:411)←LintResourceRepository$Companion.get(LintResourceRepository.kt:382)←LintCliClient.getResources(LintCliClient.kt:901)←LintDriver$LintClientWrapper.getResources(LintDriver.kt:2992)←MissingInflatedIdDetector.visitMethodCall(MissingInflatedIdDetector.kt:71)←UElementVisitor$DelegatingPsiVisitor.visitMethodCallExpression(UElementVisitor.kt:1082)←UElementVisitor$DelegatingPsiVisitor.visitCallExpression(UElementVisitor.kt:1062)←KotlinUFunctionCallExpression.accept(KotlinUFunctionCallExpression.kt:176)←UQualifiedReferenceExpression.accept(UQualifiedReferenceExpression.kt:33)←ImplementationUtilsKt.acceptList(implementationUtils.kt:15)←UBlockExpression.accept(UBlockExpression.kt:21)←UMethod.accept(UMethod.kt:45)←ImplementationUtilsKt.acceptList(implementationUtils.kt:15)←AbstractKotlinUClass.accept(AbstractKotlinUClass.kt:99)←ImplementationUtilsKt.acceptList(implementationUtils.kt:15)←UFile.accept(UFile.kt:89)←UastLintUtilsKt.acceptSourceFile(UastLintUtils.kt:826)←UElementVisitor$visitFile$3.run(UElementVisitor.kt:267)←LintClient.runReadAction(LintClient.kt:1714)←LintDriver$LintClientWrapper.runReadAction(LintDriver.kt:2886)←UElementVisitor.visitFile(UElementVisitor.kt:264)←LintDriver$visitUastDetectors$1.run(LintDriver.kt:2184)←LintClient.runReadAction(LintClient.kt:1714)←LintDriver$LintClientWrapper.runReadAction(LintDriver.kt:2886)←LintDriver.visitUastDetectors(LintDriver.kt:2184)←LintDriver.visitUast(LintDriver.kt:2146)←LintDriver.runFileDetectors(LintDriver.kt:1392)←LintDriver.checkProject(LintDriver.kt:1157)←LintDriver.checkProjectRoot(LintDriver.kt:628)←LintDriver.access$checkProjectRoot(LintDriver.kt:177)←LintDriver$analyzeOnly$1.invoke(LintDriver.kt:451)←LintDriver$analyzeOnly$1.invoke(LintDriver.kt:448)←LintDriver.doAnalyze(LintDriver.kt:507)←LintDriver.analyzeOnly(LintDriver.kt:448)←LintCliClient$analyzeOnly$1.invoke(LintCliClient.kt:233)←LintCliClient$analyzeOnly$1.invoke(LintCliClient.kt:233)←LintCliClient.run(LintCliClient.kt:275)←LintCliClient.run$default(LintCliClient.kt:258)←LintCliClient.analyzeOnly(LintCliClient.kt:233)←Main.run(Main.java:1741)←Main.run(Main.java:284)←DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)←Method.invoke(Method.java:578)←AndroidLintWorkAction.invokeLintMainRunMethod(AndroidLintWorkAction.kt:101)←AndroidLintWorkAction.runLint(AndroidLintWorkAction.kt:88)←AndroidLintWorkAction.execute(AndroidLintWorkAction.kt:63)←DefaultWorkerServer.execute(DefaultWorkerServer.java:63)←NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:66)←NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:62)←ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:100)←NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62)←AbstractWorker$1.call(AbstractWorker.java:44)←AbstractWorker$1.call(AbstractWorker.java:41)←DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)←DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)←DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)←DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)←DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)←DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)←DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)←DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)←AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41)←NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59)←DefaultWorkerExecutor.lambda$submitWork$0(DefaultWorkerExecutor.java:170)←FutureTask.run(FutureTask.java:317)←DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:187)←DefaultConditionalExecutionQueue$ExecutionRunner.access$700(DefaultConditionalExecutionQueue.java:120)←DefaultConditionalExecutionQueue$ExecutionRunner$1.run(DefaultConditionalExecutionQueue.java:162)←Factories$1.create(Factories.java:31)←DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:264)←DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:128)←DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:133)←DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:157)←DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:126)←Executors$RunnableAdapter.call(Executors.java:577)←FutureTask.run(FutureTask.java:317)←ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)←AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)←ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)←ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)←Thread.run(Thread.java:1623) [LintWarning]
1 errors, 0 warnings
```
Running `./gradlew updateLintBaseline` results in
```
No baseline file is specified, so no baseline file will be created.
Please specify a baseline file in the build.gradle file like so:
```
Related lint config:
```
def agpVersion = project.properties["agpVersion"] ?: ""
lint {
disable("VectorPath", "HardcodedText", "IconDuplicates", "ContentDescription")
if (agpVersion == "" || agpVersion.startsWith("7.4") || agpVersion.startsWith("8")) {
disable("MonochromeLauncherIcon")
}
warningsAsErrors = true
}
```
Failed run:
ATTACH SCREENSHOTS/RECORDINGS OF THE ISSUE
ATTACH LOG FILES (Select Help > Show Log in Files, or Show Log in Finder on a Mac)
------------------
IMPORTANT: Please read
all required information.
------------------
Studio Build: No Studio
Version of Gradle Plugin: AGP 8.3.0-alpha-02
Version of Gradle: 8.3
Version of Java: 20.0.2
OS: ubuntu-latest