Assigned
Status Update
Comments
rk...@google.com <rk...@google.com>
rk...@google.com <rk...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit b90079595f33f58fece04026a97faa0d243acdb1
Author: Yuichi Araki <yaraki@google.com>
Date: Wed Sep 18 16:55:49 2019
Change the way to detect mismatch between POJO and query
This fixes cursor mismatch warnings with expandProjection.
Bug: 140759491
Test: QueryMethodProcessorTest
Change-Id: I7659002e5e0d1ef60fc1af2a625c0c36da0664d8
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/TestProcessor.kt
https://android-review.googlesource.com/1123258
https://goto.google.com/android-sha1/b90079595f33f58fece04026a97faa0d243acdb1
Branch: androidx-master-dev
commit b90079595f33f58fece04026a97faa0d243acdb1
Author: Yuichi Araki <yaraki@google.com>
Date: Wed Sep 18 16:55:49 2019
Change the way to detect mismatch between POJO and query
This fixes cursor mismatch warnings with expandProjection.
Bug: 140759491
Test: QueryMethodProcessorTest
Change-Id: I7659002e5e0d1ef60fc1af2a625c0c36da0664d8
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
M room/compiler/src/test/kotlin/androidx/room/processor/QueryMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/TestProcessor.kt
al...@gmail.com <al...@gmail.com> #3
rk...@google.com <rk...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-master-dev
commit bdde5a1a970ddc9007b28de4aa29d60ffa588f08
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 16 16:47:05 2020
Re-factor how errors are dismissed when query is re-written
This CL changes how we handle errors/warnings if query is
re-written.
There was a bug in expandProjection where we would report warnings
for things that Room already fixes automatically ( b/140759491 ).
The solution to that problem (I7659002e5e0d1ef60fc1af2a625c0c36da0664d8)
solved it by deferring validating of columns until after re-write
decision is made. Unfortunately, this required changing PojoRowAdapter
to have a dummy mapping until it is validating, make it hard to use
as it does have a non-null mapping which is not useful.
This CL partially reverts that change and instead rely on the log
deferring logic we have in Context. This way, we don't need to break
the stability of PojoRowAdapter while still having the ability to
drop warnings that room fixes. This will also play nicer when we
have different query re-writing options that can use more information
about the query results.
Bug: 153387066
Bug: 140759491
Test: existing tests pass
Change-Id: I2ec967c763d33d7a3ff02c1a13c6953b460d1e5f
M room/compiler/src/main/kotlin/androidx/room/log/RLog.kt
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
https://android-review.googlesource.com/1288456
Branch: androidx-master-dev
commit bdde5a1a970ddc9007b28de4aa29d60ffa588f08
Author: Yigit Boyar <yboyar@google.com>
Date: Thu Apr 16 16:47:05 2020
Re-factor how errors are dismissed when query is re-written
This CL changes how we handle errors/warnings if query is
re-written.
There was a bug in expandProjection where we would report warnings
for things that Room already fixes automatically (
The solution to that problem (I7659002e5e0d1ef60fc1af2a625c0c36da0664d8)
solved it by deferring validating of columns until after re-write
decision is made. Unfortunately, this required changing PojoRowAdapter
to have a dummy mapping until it is validating, make it hard to use
as it does have a non-null mapping which is not useful.
This CL partially reverts that change and instead rely on the log
deferring logic we have in Context. This way, we don't need to break
the stability of PojoRowAdapter while still having the ability to
drop warnings that room fixes. This will also play nicer when we
have different query re-writing options that can use more information
about the query results.
Bug: 153387066
Bug: 140759491
Test: existing tests pass
Change-Id: I2ec967c763d33d7a3ff02c1a13c6953b460d1e5f
M room/compiler/src/main/kotlin/androidx/room/log/RLog.kt
M room/compiler/src/main/kotlin/androidx/room/processor/QueryMethodProcessor.kt
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
M room/compiler/src/main/kotlin/androidx/room/solver/query/result/PojoRowAdapter.kt
al...@gmail.com <al...@gmail.com> #5
I've downloaded api 35 with 1.6GB it stays stuck at the Google screen for
quite a long time so that why I decided to use api 27 for faster and better
compatability with my system, seems you've Changed the angular, can I go
ahead to restart my project, probably this time the white screen will be no
more, Cause I watched a guy on YouTube facing slimliar problems recently
and I didn't know how to go about exactly what he did to solve it , that
why I decided to make the complaint
On Wed, 19 Feb 2025, 5:08 am , <buganizer-system@google.com> wrote:
quite a long time so that why I decided to use api 27 for faster and better
compatability with my system, seems you've Changed the angular, can I go
ahead to restart my project, probably this time the white screen will be no
more, Cause I watched a guy on YouTube facing slimliar problems recently
and I didn't know how to go about exactly what he did to solve it , that
why I decided to make the complaint
On Wed, 19 Feb 2025, 5:08 am , <buganizer-system@google.com> wrote:
bo...@google.com <bo...@google.com> #6
les/brokenPlugins.json)
2025-02-17 17:00:04,073 [ 119435] INFO - #c.i.i.p.m.MarketplaceRequests - Can not get broken plugins file from Marketplace:plugins.jetbrains.com
2025-02-17 17:00:05,071 [ 120433] INFO - #com.android.tools.idea.updater.configure.SourcesTableModel - IOException:https://dl.google.com/android/repository/addons_list-6.xml
2025-02-17 17:00:05,071 [ 120433] INFO - #com.android.tools.idea.updater.configure.SourcesTableModel - com.intellij.util.io.HttpRequests$HttpStatusException: URL may exist, but is internally disabled by com.android.tools.idea.sdk.StudioDownloader$RiscVUrlFilter. Status=404, Url=https://dl.google.com/android/repository/addons_list-6.xml
2025-02-17 17:00:05,089 [ 120451] INFO - #com.android.tools.idea.updater.configure.SourcesTableModel - Downloadinghttps://dl.google.com/android/repository/addons_list-5.xml
2025-02-17 17:00:05,104 [ 120466] WARN - #com.android.tools.idea.updater.configure.SourcesTableModel - Failed to connect to host:https://dl.google.com/android/repository/addons_list-5.xml
2025-02-17 17:00:05,118 [ 120480] INFO - #com.android.tools.idea.updater.configure.SourcesTableModel - Downloadinghttps://dl.google.com/android/repository/addons_list-4.xml
2025-02-17 17:00:05,134 [ 120496] WARN - #com.android.tools.idea.updater.configure.SourcesTableModel - Failed to connect to host:https://dl.google.com/android/repository/addons_list-4.xml
2025-02-17 17:00:05,150 [ 120512] INFO - #com.android.tools.idea.updater.configure.SourcesTableModel - Downloadinghttps://dl.google.com/android/repository/addons_list-3.xml
2025-02-17 17:00:05,169 [ 120531] WARN - #com.android.tools.idea.updater.configure.SourcesTableModel - Failed to connect to host:https://dl.google.com/android/repository/addons_list-3.xml
2025-02-17 17:00:05,186 [ 120548] INFO - #com.android.tools.idea.updater.configure.SourcesTableModel - Downloadinghttps://dl.google.com/android/repository/addons_list-2.xml
2025-02-17 17:00:05,201 [ 120563] WARN - #com.android.tools.idea.updater.configure.SourcesTableModel - Failed to connect to host:https://dl.google.com/android/repository/addons_list-2.xml
2025-02-17 17:00:05,220 [ 120582] INFO - #com.android.tools.idea.updater.configure.SourcesTableModel - Downloadinghttps://dl.google.com/android/repository/addons_list-1.xml
2025-02-17 17:00:05,238 [ 120600] WARN - #com.android.tools.idea.updater.configure.SourcesTableModel - Failed to connect to host:https://dl.google.com/android/repository/addons_list-1.xml
2025-02-17 17:00:05,238 [ 120600] WARN - #com.android.tools.idea.updater.configure.SourcesTableModel - Failed to download any source lists!
2025-02-17 17:00:05,500 [ 120862] INFO - #com.android.tools.idea.progress.RepoProgressIndicatorAdapter - Parsing C:\Users\USER\AppData\Local\Android\Sdk\build-tools\34.0.0\package.xml
2025-02-17 17:00:05,591 [ 120953] INFO - #com.android.tools.idea.progress.RepoProgressIndicatorAdapter - Parsing C:\Users\USER\AppData\Local\Android\Sdk\build-tools\35.0.0\package.xml
2025-02-17 17:00:04,073 [ 119435] INFO - #c.i.i.p.m.MarketplaceRequests - Can not get broken plugins file from Marketplace:
2025-02-17 17:00:05,071 [ 120433] INFO - #com.android.tools.idea.updater.configure.SourcesTableModel - IOException:
2025-02-17 17:00:05,071 [ 120433] INFO - #com.android.tools.idea.updater.configure.SourcesTableModel - com.intellij.util.io.HttpRequests$HttpStatusException: URL may exist, but is internally disabled by com.android.tools.idea.sdk.StudioDownloader$RiscVUrlFilter. Status=404, Url=
2025-02-17 17:00:05,089 [ 120451] INFO - #com.android.tools.idea.updater.configure.SourcesTableModel - Downloading
2025-02-17 17:00:05,104 [ 120466] WARN - #com.android.tools.idea.updater.configure.SourcesTableModel - Failed to connect to host:
2025-02-17 17:00:05,118 [ 120480] INFO - #com.android.tools.idea.updater.configure.SourcesTableModel - Downloading
2025-02-17 17:00:05,134 [ 120496] WARN - #com.android.tools.idea.updater.configure.SourcesTableModel - Failed to connect to host:
2025-02-17 17:00:05,150 [ 120512] INFO - #com.android.tools.idea.updater.configure.SourcesTableModel - Downloading
2025-02-17 17:00:05,169 [ 120531] WARN - #com.android.tools.idea.updater.configure.SourcesTableModel - Failed to connect to host:
2025-02-17 17:00:05,186 [ 120548] INFO - #com.android.tools.idea.updater.configure.SourcesTableModel - Downloading
2025-02-17 17:00:05,201 [ 120563] WARN - #com.android.tools.idea.updater.configure.SourcesTableModel - Failed to connect to host:
2025-02-17 17:00:05,220 [ 120582] INFO - #com.android.tools.idea.updater.configure.SourcesTableModel - Downloading
2025-02-17 17:00:05,238 [ 120600] WARN - #com.android.tools.idea.updater.configure.SourcesTableModel - Failed to connect to host:
2025-02-17 17:00:05,238 [ 120600] WARN - #com.android.tools.idea.updater.configure.SourcesTableModel - Failed to download any source lists!
2025-02-17 17:00:05,500 [ 120862] INFO - #com.android.tools.idea.progress.RepoProgressIndicatorAdapter - Parsing C:\Users\USER\AppData\Local\Android\Sdk\build-tools\34.0.0\package.xml
2025-02-17 17:00:05,591 [ 120953] INFO - #com.android.tools.idea.progress.RepoProgressIndicatorAdapter - Parsing C:\Users\USER\AppData\Local\Android\Sdk\build-tools\35.0.0\package.xml
bo...@google.com <bo...@google.com> #7
looks like 27 booted,
8 I WindowManager: ******* TELLING SURFACE FLINGER WE ARE BOOTED!
02-15 03:57:12.650 1000 1414 1472 I SurfaceFlinger: Boot is finished (298434 ms)
02-15 03:57:12.653 root 1504 1670 E installd: Failed to unlink /data//dalvik-cache/x86/.booting: No such file or directory
02-15 03:57:12.653 1000 1627 1648 W ActivityManager: Unable to mark boot complete for abi: x86 (android.os.ServiceSpecificException: Failed to unlink /data//dalvik-cache/x86/.booting (code 2))
maybe 35 is not booting, based on the #5
I suggest you use lower screen resolution and try again, as api35 may need more computing power that could be strained on your computer
when you create avd, try the "Small Phone" with 720x1280, that might help
8 I WindowManager: ******* TELLING SURFACE FLINGER WE ARE BOOTED!
02-15 03:57:12.650 1000 1414 1472 I SurfaceFlinger: Boot is finished (298434 ms)
02-15 03:57:12.653 root 1504 1670 E installd: Failed to unlink /data//dalvik-cache/x86/.booting: No such file or directory
02-15 03:57:12.653 1000 1627 1648 W ActivityManager: Unable to mark boot complete for abi: x86 (android.os.ServiceSpecificException: Failed to unlink /data//dalvik-cache/x86/.booting (code 2))
maybe 35 is not booting, based on the #5
I suggest you use lower screen resolution and try again, as api35 may need more computing power that could be strained on your computer
when you create avd, try the "Small Phone" with 720x1280, that might help
al...@gmail.com <al...@gmail.com> #8
Api 35 is incompatible with a small phone , even with a medium phone,
On Wed, 19 Feb 2025, 8:21 pm , <buganizer-system@google.com> wrote:
On Wed, 19 Feb 2025, 8:21 pm , <buganizer-system@google.com> wrote:
Description
```