material-components-android-codelabs
material-components-android-codelabs copied to clipboard
styles.xml: xmlns:android="http://schemas.android.com/tools"
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Update dependencies in build.gradle up to the latest versions.
- Copy/paste code of suggested stlyles.xml in the course into Android Studio
- 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:
- https://codelabs.developers.google.com/codelabs/mdc-103-java#3
- https://codelabs.developers.google.com/codelabs/mdc-103-java#2
Additional context
Use xmlns:tools="http://schemas.android.com/tools" instead of xmlns:android="http://schemas.android.com/tools"