codelab-friendlychat-android
codelab-friendlychat-android copied to clipboard
Uresolved reference 'BuildConfig'.:26
When I try to build the project in the very beginning, it gives the error: Uresolved reference 'BuildConfig'.:26
It seems to concern the line 26 of MainAktivity.kt
import com.google.firebase.codelab.friendlychat.BuildConfig
@Alex-7 This is due to the fact that Android Gradle Plugin v8.0 stopped generating the BuildConfig class.
You can fix this by adding the following line to gradle.properties:
android.defaults.buildfeatures.buildconfig=true
That's a workaround, so I'll keep this issue open until we can update the repo to continue working without the workaround.
Thank you!