Skip to content

styles.xml: xmlns:android="http://schemas.android.com/tools" #78

@Sicness

Description

@Sicness

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Update dependencies in build.gradle up to the latest versions.
  2. Copy/paste code of suggested stlyles.xml in the course into Android Studio
  3. Get the error Unexpected namespace URI bound to the "android" prefix, was http://schemas.android.com/tools, expected http://schemas.android.com/apk/res/android

Expected behavior
No errors

Codelab details (please complete the following information about the codelab):

  • Level MDC-103
  • Language (Java)
  • Link to the codelab at the step with the issue:

Additional context
Use xmlns:tools="http://schemas.android.com/tools" instead of xmlns:android="http://schemas.android.com/tools"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions