Questions tagged [google-codelab]

Google Developers CodeLab provide a guided, tutorial, hands-on coding experience. Most will step you through the process of building a small application, or adding a new feature to an existing application. They cover a wide range of topics such as Android Wear, Google Compute Engine, Project Tango, and Google APIs on iOS.

35 questions
7
votes
1 answer

Could not get unknown property 'roomVersion' for root project 'RoomWordSample' of type org.gradle.api.Project

I am trying to learn about Android room from https://codelabs.developers.google.com/codelabs/android-room-with-a-view-kotlin/#3 Fourth part is about updating Gradle files. It gives several code snippets to include in build.gradle (Module: app) I…
4
votes
2 answers

Problems to sets the fragment from a FragmentScenario to be used from DataBindingIdlingResource

I'm following this Google Codelab and at the page 8 (Task: End-to-End Testing with Data Binding), at step 8 (Write DataBindingIdlingResource) you have to create a file called DataBindingIdlingResource.kt. class DataBindingIdlingResource :…
capo11
  • 790
  • 3
  • 11
  • 32
3
votes
3 answers

Google Wallet API Codelabs example permission denied

I'm investigating the feasibility of using Google Wallet to store barcodes (for electronic prescriptions, if that matters) via the web/jwt interface. https://codelabs.developers.google.com/add-to-wallet-web#0 After carefully following all…
Robbie Matthews
  • 1,404
  • 14
  • 22
2
votes
2 answers

Claat positive info box can't show correctly on html

I'm using claat to write a codelab, as I'm told by official doc, I can write like this to show a infobox: Colorful info boxes Positive : This will appear in a positive info box. Negative : This will appear in a negative info box. But when I write…
DIAC Z
  • 53
  • 4
2
votes
0 answers

How to fix ViewBinding build error on CodeLab

I recently went through the Codelab to update my Navigation and found a Nice way to handle SplitScreens and smaller as well as Wider screens on Android using BottomNavigation alternating with Drawer depend on Screen layout! Learn Jetpack Navigation…
CryptoCode
  • 945
  • 6
  • 19
2
votes
2 answers

Android Dev in Kotlin, confused by tutorial

Im struggling with one of the android basics in kotlin code labs. Im a beginner who took up programming in lockdown for fun. This is the tutorial in question At the begining of the tutorial it says to get a nullable reference to binding…
2
votes
0 answers

How can I get code syntax highlighting to work in a Google Codelab?

I am trying to create a Codelab, but I can't get syntax highlighting to work. I am following the instructions and examples from this repo: https://github.com/googlecodelabs/tools This will look messy here on StackOverflow, but I am formatting it…
MattC
  • 21
  • 2
1
vote
1 answer

_AssertionError No GoRouter found in context - firebase-get-to-know-flutter step_02

Right now I am working on the codelab step_02 from firebase-get-to-know-flutter. At step 5 "Add RSVP functionality", when running my app and pressing the "RSVP" Button on my phone, I always get the following error in the /lib/authentification.dart…
1
vote
1 answer

Generated codelab does not work. Files removed from storage.googleapis.com

I have been using codelabs for creating tutorials. https://github.com/googlecodelabs I use the claat tool to generate the tutorial from an md file. Since the past few days I have noticed my codelabs have stopped rendering. It appears like the css…
1
vote
0 answers

How to practice Dart projects without using Flutter?

I'm learning Dart since I soon want to use Futter for different personal projects, but now that I've gone through this interesting video, I'd like to develop small projects directly using the language and libraries that are in puv.deb. So far I have…
Diego Aaron
  • 386
  • 1
  • 6
  • 19
1
vote
1 answer

How Firebase Cloudfunction check IAP subscribe changes outside from App?

I do the tutorial from CodeLab his project with all steps are here Github. Codelab helped me lot, Thanks! I do the steps and deleted all IAP products from tutorial and added only subscribable products. i have two purchase product "Normal" and…
Aiiboo
  • 613
  • 2
  • 6
  • 13
1
vote
1 answer

Can't understand code of getRefreshKey in Android paging3 codelab

// GitHub page API is 1 based: https://developer.github.com/v3/#pagination private const val GITHUB_STARTING_PAGE_INDEX = 1 class GithubPagingSource( private val service: GithubService, private val query: String ) :…
Isaac
  • 11
  • 3
1
vote
2 answers

Trying to learn Firebase. I'm following "Get to know Firebase for web" codelab and not getting very far

I get to the last step of "Add user sign-in (RSVP)" of the "Get to know Firebase for web" codelab and nothing happens when I click the RSVP button, no errors appear on the console of stackblitz. When I load the page externally so I can use Developer…
Geolev
  • 41
  • 6
1
vote
1 answer

How to make your own templates for codelabs in claat

I need to embed codelabs into an existing web site. So, I need to change the actual HTML output (I need to get rid of etc.) In claat's own help I see: Note that the built-in templates of the formats are not guaranteed to be stable. They can be…
Merc
  • 16,277
  • 18
  • 79
  • 122
1
vote
1 answer

tensorflow lite models for android and instructions

I am trying to follow instructions here to generate models for android. https://github.com/tensorflow/examples/tree/master/lite/examples/gesture_classification/ml But when I try to run all commands in codelabs it asks for model.json and the binary…
Patola
  • 515
  • 8
  • 30
1
2 3