Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Data from the Internet #202

Open
LucasFebatis opened this issue Dec 28, 2024 · 0 comments
Open

Get Data from the Internet #202

LucasFebatis opened this issue Dec 28, 2024 · 0 comments

Comments

@LucasFebatis
Copy link

URL of codelab:

https://developer.android.com/codelabs/basic-android-kotlin-compose-getting-data-internet?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-5-pathway-1&hl=pt-br#7

Specify the language of the codelab if it is not English:

Português do Brasil

In which task and step of the codelab can this issue be found?

  1. Analisar a resposta JSON com kotlinx.serialization
    https://developer.android.com/codelabs/basic-android-kotlin-compose-getting-data-internet?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-5-pathway-1&hl=pt-br#7

Describe the Problem

The codelab specifies that I should add the plugin only in the build.gradle of the module: app. However, in my case, it only worked when I added it to both module: app and module: project.

Error Screenshot

Using Android Studio Ladybug, adding the plugin only to the module: app results in the following error:

Error Log

Steps to Reproduce

  1. Follow the steps in the codelab up to step 8.
  2. Observe the error in Logcat and the app crashing during initialization.

Versions
_Android Studio version: Android Studio Ladybug
_API version of the emulator: API 34

Additional information
Include screenshots if they would be useful in clarifying the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant