android / android/codelab-android-paging

Android Paging Advanced codelab project cannot be used with Android Studio Flamingo

Open
#241 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
509
Forks
268
PR merge metrics
No merged PRs in 30d

Description

The current project files available in the following codelab:

https://developer.android.com/codelabs/android-paging

Cannot be used on Android Studio Flamingo:

````
Android Studio Flamingo | 2022.2.1 Patch 2
Build #AI-222.4459.24.2221.10121639, built on May 12, 2023
Runtime version: 17.0.6+0-b2043.56-9586694 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 16
Registry:
external.system.auto.import.disabled=true
debugger.watches.in.variables=false
ide.text.editor.with.preview.show.floating.toolbar=false
ide.instant.shutdown=false
gradle.version.catalogs.dynamic.support=true

Non-Bundled Plugins:
com.intellij.plugin.adernov.powershell (2.0.10)
````

The following error is displayed, and there is no available information explaining how to resolve this problem.

````
Namespace not specified. Please specify a namespace in the module's build.gradle file like so:

android {
namespace 'com.example.namespace'
}

If the package attribute is specified in the source AndroidManifest.xml, it can be migrated automatically to the namespace value in the build.gradle file using the AGP Upgrade Assistant; please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.
````

As it stands the project cannot be used other than for code reference only.

Contributor guide

Open the contributing guide

Research direction

Start with the codelab project files and the module's build.gradle, then compare them with the source AndroidManifest.xml and the namespace error shown in Android Studio Flamingo. Done means the project syncs and can be used in Flamingo rather than only serving as a code reference.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.