Android 运行的时候会报错
在android
的app
层的build.gradle
里面添加如下内容:
android {
defaultConfig {
multiDexEnabled true
$name = split-path (whoami) -leaf | |
"Hi, $name! Welcome to Scoop." |
# App Widget Tree | |
App | |
└── ContactsProvider | |
└── MaterialApp | |
└── {Routes} | |
├── HomeScreen | |
│ └── Scaffold | |
│ ├── AppBar | |
│ ├── ListView |
https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
选择对应系统版本
之后, 执行以下操作
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse