LittleC
技术学习记录
技术交流学习

flutter试玩

装就是了, yay -S flutter

mkdir: cannot create directory ‘/opt/flutter/bin/cache’: Permission denied

执行sudo chown -R $USER /opt/flutter (https://github.com/flutter/flutter/issues/19664#issuecomment-407207184)

flutter doctor --android-licenses
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
....

如果有出错的话, 网上也有教程

在Android Studio里,菜单栏Tools – SDK Manager, 如图装一个就好了

如果遇到没有权限,根据wiki来即可,然后重新插拔设备

https://wiki.archlinux.org/title/Android_Debug_Bridge#No_permissions_error

技术交流学习

flutter试玩
装就是了, yay -S flutter mkdir: cannot create directory ‘/opt/flutter/bin/cache’: Permission denied 执行sudo chown -R $USER /opt/flutter (https://github.com/flutter/flu…
扫描二维码继续阅读
2021-06-19