play-billing-samples
play-billing-samples copied to clipboard
Code Lab dependencies assumes you are using Gradle Kotlin
When running through the code lab in the on "The Goundwork" page it says to copy and paste.
dependencies {
val billing_version = "5.0.0"
implementation("com.android.billingclient:billing:$billing_version")
}
But the Play Billing Codelab start is using groovy
for the language in the build.gradle
and so you end up with an error for the first step where you click run
just to have AS
complain about not knowing what val
is. If you have experience with this know that the val
should be a def
in this scenario but, if you are new to the game this may be an unnecessary side quest you have to learn about.