1.控制台输出 https://pub.flutter-io.cn%20 <https://pub.flutter-io.cn%20>
在环境的变量的系统变量配置,注意是“系统变量”
FLUTTER_STORAGE_BASE_URL = https://storage.flutter-io.cn PUB_HOSTED_URL =
https://pub.flutter-io.cn
2.运行开源项目出现 Finished with error: FormatException: Bad UTF-8 encoding 0xc3 (at
offset 169)
这是由于app的版本为release找不到keystore文件,我们只需要在app下的build.gradle文件中修改为signingConfigs.debug即可:
buildTypes { release { signingConfig signingConfigs.debug proguardFiles
getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } }
热门工具 换一换