codelab-android-datastore
codelab-android-datastore copied to clipboard
copy gradle code from this build.gradle into my project, it not work
Shared Preferences are used heavily into my application, they are more than 300s of every possible data types such as int, boolean, String etc etc. Now I want to migrate...
I'm afraid the tutorial is barely usable in its current state. - Many instances of "replace code X with Y" but no mention of where to replace the code. -...
[8. SharedPreferences to Proto DataStore](https://developer.android.com/codelabs/android-proto-datastore#7) is already very chaotic in terms of modifications that ain't clear whether they apply to `UserPreferencesRepository.kt` or to `TasksActivity.kt` or maybe to both. That's because,...
I found two parts of the codelab description that might possibly be errors and report them. First look at the description in the section on [`Writing data to Proto DataStore`](https://developer.android.com/codelabs/android-proto-datastore#6)...
I originally thought this was a typo, but it seems protoc 21.7 does exist. So, edit: The [build.gradle snippet in the web tutorial](https://developer.android.com/codelabs/android-proto-datastore#4) specifies: ``` protoc { artifact = "com.google.protobuf:protoc:21.7"...
Hi, It took me some hours to figure out how to set it up correctly, I think the codelab should mention it: ```kotlin import com.google.protobuf.gradle.id plugins { // ... id("com.google.protobuf")...
> Could not get unknown property 'source' for generate-proto-generateDebugProto of type org.gradle.api.internal.file.DefaultSourceDirectorySet. * Try: > Run with --info or --debug option to get more log output. > Run with --scan...
Make code can run on Android Studio Flamingo • compileSdkVersion change 32 to 33 • targetSdkVersion 32 to 33 • sourceCompatibility change Java 8 to Java 17 • targetCompatibility change...
Fixes #69