flutter遇到的问题

1、No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi

在ABI的NDK工具链文件夹中没有找到带有前缀:arm-linux-androideabi的工具链

解决办法:在build.gradle文件中添加 ndkVersion '22.1.7171670' //此处是你项目的版本

android:{
    ......
    ndkVersion '22.1.7171670'
}

转自:No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi_lizhong-CSDN博客2

2、flutter run出现The getter 'body1' isn't defined for the class 'TextTheme'.

 版本问题。将flutter_windows_2.5.3-stable替换为flutter_windows_2.2.1-stable解决。

SDK下载地址:Flutter SDK 版本列表 | Flutter 中文文档 | Flutter 中文开发者网站

转自:flutter run出现The getter 'body1' isn't defined for the class 'TextTheme'. - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' - xkfx - 博客园

3、Flutter国内下载地址及相关资源

Flutter国内下载地址及相关资源_SilenceYoung1995的博客-CSDN博客_flutter下载

你可能感兴趣的:(flutter,flutter)