美文网首页
2019-12-27 Mac上 Dart/flutter SDK

2019-12-27 Mac上 Dart/flutter SDK

作者: 懂事长qingzZ | 来源:发表于2019-12-27 09:54 被阅读0次

    1  https://dart.dev/get-dart

    2  https://flutter.dev/docs/get-started/install

    问题:

    1.碰到的 zsh: command not found: 解决方法 在这里

    https://www.jianshu.com/p/4ded6dc28eb0

    ================================================

    问题2:VSCode 运行 xcode模拟器/真机 OK ,运行 安卓模拟器报错

    Launching lib/main.darton Android SDK built for x86 in debug mode...

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':app:compileFlutterBuildDebug'.

    > A problem occurred starting process 'command '/Users/apple/Desktop/??flutter/FlutterSDK/flutter/bin/flutter''

    * 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 athttps://help.gradle.org

    BUILD FAILED in 628ms

    Gradle task assembleDebug failed with exit code 1

    Exited (sigterm)

    解决 方法1: 网络重启, 这是因为网络连不上, 不要修改 运行URL ,会显示不出来模拟器

    解决方法2:修改网络URL 链接

    这是Mac下:https://segmentfault.com/q/1010000016775662

    这是win下 : https://blog.csdn.net/qq_34715162/article/details/85158939

    ========================

    相关文章

      网友评论

          本文标题:2019-12-27 Mac上 Dart/flutter SDK

          本文链接:https://www.haomeiwen.com/subject/ipbroctx.html