Skip to content

SDK version incompatibility  #4

Open
@BuddhiLW

Description

@BuddhiLW

When ever I add flutter-mx to the dependencies of a new project:

        kennytilton/flutter-mx
        {:git/url "https://github.com/kennytilton/flutter-mx.git"
         :sha "dbf5e5795f7ccb447b4cd18e37dcfb4d1dec23ab"}

I get:

Launching flutter run
Launching lib/main.dart on sdk gphone64 x86 64 in debug mode...
Running Gradle task 'assembleDebug'...                          
Warning: SDK processing. This version only understands SDK XML versions up to 3 but an SDK XML file of version 4 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.
Error: unable to find directory entry in pubspec.yaml: /home/russell/PP/Clojure/hello/.clojuredart/deps/530cb38341417630f0fa7f6982d54337b59715b85b37f6f445dd975901733289/audio/
Error: unable to find directory entry in pubspec.yaml: /home/russell/PP/Clojure/hello/.clojuredart/deps/530cb38341417630f0fa7f6982d54337b59715b85b37f6f445dd975901733289/image/
Error: unable to locate asset entry in pubspec.yaml: "fonts/RobotoMono-Thin.ttf".
Target debug_android_application failed: Exception: Failed to bundle asset files.


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command '/home/russell/dotfiles/gitthings/flutter/flutter/bin/flutter'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 34s
Running Gradle task 'assembleDebug'...                             34.8s
Error: Gradle task assembleDebug failed with exit code 1
💀 Flutter sub-process exited with 1
[ble: elapsed 58.747s (CPU 69.6%)] clj -M:cljd flutter

Any ideas how I can navigate this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions