Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
For Kotlin 2.0 and KSP 2.0 the Cannot change attributes of configuration ':composeApp:debugFrameworkIosX64' after it has been locked for mutation
really seems like a KSP issue. You should file a bug in their repository with a sample app if possible.
If you downgrade to Kotlin 1.9 then things 'should' work, there are example apps out there with such configuration, like the following one:
da...@google.com <da...@google.com>
pr...@google.com <pr...@google.com> #3
Yes this does seem like a KSP issue however it only starts happening when room is added to the project. As the template project compiles just fine.
Will try to use the example provided by you to check if it fixes the issue.
Will try to use the example provided by you to check if it fixes the issue.
Description
Component used:
androidx.room:room-runtime
Version used:
2.5.0+
Devices/Android versions reproduced on:
Robolectric tests
When the here , a
RoomDatabase
class has been converted from Java to Kotlinnull
check was skipped and this causes issues when instantiating the database in Robolectric.master code can be found here
By looking into SystemServiceRegistry , it's clear that this function can return
getSystemService
's implementation found innull
so the null check should still be kept.