hi, just downloaded `Android Studio Dolphin Canary...
# compose
s
hi, just downloaded
Android Studio Dolphin Canary 5
and trying to use with
Compose 1.2.0-alpha05
, but receiving this ambiguous compile-time error:
c
Not sure of the error, but just chiming in that I'm using dolphin c5 and latest compose alpha and I'm not getting that error.
z
I saw the same error last night, on alpha04 of compose. Multiple cleans of the project and eventually the problem disappeared blob thinking upside down Edit: Jinxed it, the issue is back.
I dont know if this will work forever, but upgrading gradles distribution-url fixed it for me. Was previously on 7.4.
Copy code
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-bin.zip
Edit: It came back again..
s
i just tried
gradle-7.4.1-bin.zip
and it unfortunately did not work
z
Seeing the same thing, after a while it starts working for me but I cant really tell why/how.
s
i’ve isolated it to
id "com.google.gms.google-services"
in
build.gradle
, commenting out is a workaround
of course now trying to run the app fails with exception
Unable to resume activity: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process . Make sure to call FirebaseApp.initializeApp(Context) first
but at least we’re getting somewhere
using
classpath "com.google.gms:google-services:4.3.8"
in root
build.gradle
fixes the problem
z
Did you end up reporting it under the play-services repo as well?