美文网首页
Flutter No toolchains found in t

Flutter No toolchains found in t

作者: Lee坚武 | 来源:发表于2020-12-25 11:55 被阅读0次
    今天下载了个demo看看学习flutter的一些具体用法,然后打开直接编译运行报错了
    bug显示问题如下:
    * 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
    
    * Try:
    
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    
    * Get more help at https://help.gradle.org
    
    BUILD FAILED in 1s
    
    Exception: Gradle task assembleDebug failed with exit code 1
    
    image.png
    问题解决:

    1.从安卓ndk官网下载个16的ndk

    image.png
    2.然后解压,找到相对应文件
    image.png
    3.返回自己电脑安装的ndk路径,重新编译,解决问题
    image.png

    可以加蔚鑫更多交流:lixiaowu1129,谢谢

    相关文章

      网友评论

          本文标题:Flutter No toolchains found in t

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