Timo Drick
08/26/2020, 10:55 PMLiveLiterals$ComposeWidgetsKt.class: D8: com.android.tools.r8.errors.b: Space characters in SimpleName 'Int$arg-0$call-layout$branch$if$fun-measure$class-$no name provided$$arg-0$call-then$fun-visibility' are not allowed prior to DEX version 040
Compiling with classpath 'com.android.tools.build:gradle:4.2.0-alpha07'
works fine. also upgraded to gradle 6.6-rc-6romainguy
08/26/2020, 11:00 PMLeland Richardson [G]
08/26/2020, 11:03 PMTimo Drick
08/26/2020, 11:39 PMLeland Richardson [G]
08/26/2020, 11:40 PMvisibility
function which calls then
which passes in an anonymous class as the first argument. If you change this to a named-class the error will go awaykotlinOptions.freeCompilerArgs += ['-P', 'plugin:androidx.compose.plugins.idea:liveLiterals=true']
kotlinOptions.freeCompilerArgs += ['-P', 'plugin:androidx.compose.plugins.idea:liveLiterals=false']
Timo Drick
08/26/2020, 11:43 PMLeland Richardson [G]
08/26/2020, 11:44 PMTimo Drick
08/26/2020, 11:44 PMLeland Richardson [G]
08/26/2020, 11:48 PMkotlinOptions.freeCompilerArgs += ['-Pplugin:androidx.compose.plugins.idea:liveLiterals=false']
Timo Drick
08/26/2020, 11:50 PMLeland Richardson [G]
08/26/2020, 11:50 PMTimo Drick
08/26/2020, 11:50 PMLeland Richardson [G]
08/26/2020, 11:51 PMTimo Drick
08/26/2020, 11:53 PMLeland Richardson [G]
08/26/2020, 11:54 PMTimo Drick
08/26/2020, 11:55 PMLeland Richardson [G]
08/26/2020, 11:55 PMTimo Drick
08/26/2020, 11:57 PMLeland Richardson [G]
08/26/2020, 11:59 PMTimo Drick
08/27/2020, 12:02 AMLeland Richardson [G]
08/27/2020, 12:03 AMTimo Drick
08/27/2020, 12:08 AMLeland Richardson [G]
08/27/2020, 12:11 AMTimo Drick
08/27/2020, 12:20 AMLeland Richardson [G]
08/27/2020, 3:14 PMTimo Drick
08/27/2020, 3:19 PM