Assigned
Status Update
Comments
pe...@google.com <pe...@google.com> #2
having the same issue
Room version > 2.7.0-alpha08
agp = "8.2.2"
kotlin = "2.0.20"
ksp-plugin = "2.0.20-1.0.24"
also Reverting to Room version 2.7.0-alpha07 solves the issue.
Room version > 2.7.0-alpha08
agp = "8.2.2"
kotlin = "2.0.20"
ksp-plugin = "2.0.20-1.0.24"
also Reverting to Room version 2.7.0-alpha07 solves the issue.
pe...@google.com <pe...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
Author: Daniel Santiago Rivera <
Link:
Configure the schema asset android copy task within its register block and not within AGP's wiredWith lambda.
Expand for full commit details
Configure the schema asset android copy task within its register block and not within AGP's wiredWith lambda.
Otherwise the tasks inputs are locked by the time the wiredWith lambda passed to addGeneratedSourceDirector() is invoked and will lead to "property 'inputDirectory' is final and cannot be changed any further".
Bug: 376071291
Test: Manual with sample repro app
Change-Id: I2c9da4855cd31d7df3276424546aba4c53edf7ea
Files:
- M
room/room-gradle-plugin/src/main/java/androidx/room/gradle/integration/AndroidPluginIntegration.kt
Hash: 1dbb4c1876e1e8a8e930bec4625741ac6dc05a0b
Date: Thu Dec 05 14:21:51 2024
mi...@gmail.com <mi...@gmail.com> #5
I'm having the same problem in my Compose Multiplatform project and I'm using the latest version available 2.7.0-alpha12. The way I found to get around this was by adding the following task to my build.gradle
tasks.matching { it.name.startsWith("copyRoomSchemasToAndroidTestAssetsDebugAndroidTest") }.configureEach {
enabled = false
}
But I believe this is not the right thing to do, since I'm hiding the error. Is there another way to solve it or will the library be updated to fix it?
tasks.matching { it.name.startsWith("copyRoomSchemasToAndroidTestAssetsDebugAndroidTest") }.configureEach {
enabled = false
}
But I believe this is not the right thing to do, since I'm hiding the error. Is there another way to solve it or will the library be updated to fix it?
pe...@google.com <pe...@google.com> #6
Unfortunately the fix did not make it to the alpha12 release, but it will indeed be in the next release.
mi...@gmail.com <mi...@gmail.com> #7
When will this be released? It's more than a month now?
Description
Version used: 1.8.0
Devices/Android versions reproduced on: Android 14
Details = We are using this library in one of our apps for a very long time, but suddenly I noticed this but in my latest divide that I was not able to upload files to websites which I am accessing through this library. I checked those websites on google chrome app and its working there but not with this library. downloading is working fine. In older android versions everything is working fine
Logs = "2024-03-26 07:42:57.172 2385-2743 ActivityManagerWrapper com.miui.home E getRecentTasks: mainTaskId=1300 userId=0 windowMode=1 baseIntent=Intent { act=android.intent.action.MAIN flag=270532608 cmp=ComponentInfo{in.example.example/in.example.example.MainActivity} }
2024-03-26 07:42:57.182 2385-2743 ActivityManagerWrapper com.miui.home E getRecentTasks: mainTaskId=1300 userId=0 windowMode=1 baseIntent=Intent { act=android.intent.action.MAIN flag=270532608 cmp=ComponentInfo{in.example.example/in.example.example.MainActivity} }
2024-03-26 07:42:57.347 2385-2743 ActivityManagerWrapper com.miui.home E getRecentTasks: mainTaskId=1300 userId=0 windowMode=1 baseIntent=Intent { act=android.intent.action.MAIN flag=270532608 cmp=ComponentInfo{in.example.example/in.example.example.MainActivity} }
2024-03-26 07:42:57.355 2385-2743 ActivityManagerWrapper com.miui.home E getRecentTasks: mainTaskId=1300 userId=0 windowMode=1 baseIntent=Intent { act=android.intent.action.MAIN flag=270532608 cmp=ComponentInfo{in.example.example/in.example.example.MainActivity} }"
If this is a bug in the library, we would appreciate if you could attach:
- Sample project to trigger the issue.
- A screenrecord or screenshots showing the issue (if UI related).