Status Update
Comments
cm...@google.com <cm...@google.com>
tn...@google.com <tn...@google.com> #2
ro...@gmail.com <ro...@gmail.com> #3
Our team is also running into this because we use kotlin reflection to set up mock data for previews.
Can you suggest any workaround that we can apply locally to make layout lib include kotlin reflect until it is officially fixed? We are obviously including it as a build dependency but the layout lib preview doesn't pick it up for some reason.
ro...@gmail.com <ro...@gmail.com> #4
I do not see this issue in Electric Eel Beta 4, but I do see it in Flamingo Canary 6.
ro...@gmail.com <ro...@gmail.com> #5
I do not see this issue in Electric Eel Beta 4, but I do see it in Flamingo Canary 6.
Is it with the very same project? I'm trying to rule out whether this is related to specific library/compiler versions.
Thanks!
xo...@google.com <xo...@google.com> #6
Yes, that was with the same project. I can double check with the latest versions of each IDE and get back to you though.
gm...@gmail.com <gm...@gmail.com> #7
Correction: I was either mistaken before, or behavior has changed, but I am now getting the KotlinReflectionNotSupportedError
issue for IDE compose previews in both EE Beta 5 and Flamingo Canary 8.
Kotlin 1.6.21 AGP 7.3
Description
Build: AI-203.7717.56.2111.7361063, 202105140516,
AI-203.7717.56.2111.7361063, JRE 11.0.10+0-b96-7249189x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1920.0x1080.0, 1920.0x1080.0, 1920.0x1080.0
AS: Bumblebee | 2021.1.1 Canary 1; Kotlin plugin: 203-1.5.20-release-289-AS7717.8; Android Gradle Plugin: 7.1.0-alpha02; Gradle: 7.1; Gradle JDK: version 11.0.10; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
IMPORTANT: Please readhttps://developer.android.com/studio/report-bugs.html carefully and supply all required information.
Discovered (by accident) that
com.google.firebase:firebase-bom:xx.y.z
dependencies are not discovered to be upgraded to newer versions.My dependency versioned
com.google.firebase:firebase-bom:26.1.0
did never flag a newer version, either in the build gradle file nor in the Project Structure tool.RG