Skip to content

MDC-101: Material Components (MDC) Basics (Flutter) #137

Closed
@cjbyrne772

Description

@cjbyrne772

Attempt to download and build MDC 101 Starter Project. 2 problems ( 1) is probably not important, 2) is a show stopper.

  1. Directions (item 4) says
    4. In the project panel on the left, delete the testing file ../test/widget_test.dart
    file is not found

  2. Project does not build. Cannot find mips64el-linux-android in the toolchain
    ==============================================================

When I follow instructions on https://codelabs.developers.google.com/codelabs/mdc-101-flutter/index.html?index=..%2F..index#2
and use the “Download Starter Project” option, Android Studio shows me this:
fig2
which indicates a problem:
Dart support is not enabled…
I click on ‘Enable Dart support’ that seems to fix the problem, but now I get:
fig1
So ‘Packages get’ has not been run. I run it by clicking on ‘Get dependencies’ and I get this:
fig4

So it looks good…...Let’s delete that test file
4. In the project panel on the left, delete the testing file ../test/widget_test.dart

….Can’t find widget_test.*

Attempt to build project:
Get the following error:

Launching lib\main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...

  • Error running Gradle:
    ProcessException: Process "C:\etc\prj\material-components-flutter-codelabs-101-starter\material-components-flutter-codelabs-101-starter\mdc_100_series\android\gradlew.bat" exited abnormally:
    Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

  • Where:
    Build file 'C:\etc\prj\material-components-flutter-codelabs-101-starter\material-components-flutter-codelabs-101-starter\mdc_100_series\android\build.gradle' line: 24

  • What went wrong:
    A problem occurred evaluating root project 'android'.

A problem occurred configuring project ':app'.
No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions