https://kotlinlang.org logo
m

magnumrocha

01/28/2021, 6:41 PM
does anyone having problem after update Android Studio Arctic Fox Canary 5 (2020.3.1.5) ?
Copy code
FAILURE: Build failed with an exception.

* What went wrong:
lateinit property variantName has not been initialized
My setup: Android Studio Arctic Fox Canary 5 (2020.3.1.5) Android Gradle Plugin 7.0.0-alpha05 Gradle 6.8.1
r

Roar Gronmo

01/28/2021, 8:30 PM
Didn't reach so far... my installation failed when installing the provided IJ plugin in AS (it is rendered as valid for AS in JetBrains plugin overview...) As far as i see, you may have attempt to use an lateinit variable before you have initialized it. This was (I think it was a runtime error before, may be they have begun to catch that in suspicion (highly intelligent "clever" build process...))
m

magnumrocha

01/28/2021, 9:34 PM
this failure is in the AGP plugin, before the gradle task run (in this case the
build
task), my code doesn’t have any reference for a
variantName
r

Roar Gronmo

02/04/2021, 6:48 AM
They have adressed that here now https://issuetracker.google.com/178715706
3 Views