4
Problem building Android application: see above error(s).
source link: https://blog.51cto.com/u_15650730/6024128
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Problem building Android application: see above error(s).
精选 原创Flutter 开发调试一直报错
Could not locate aapt. Please ensure you have the Android buildtools installed.Exception: Problem building Android application: see above error(s).
打包一切都正常,就是Android Studio无法运行安卓模拟器上面。
参考回答资料https://stackoverflow.com/questions/66596943/flutter-app-could-not-locate-aapt-while-building
我的解决办法:
mac和windows系统思路一致,都是删除Adnroid SDK安装目录中,
/用户/xxxx/资源库/Android/sdk/build-tools
中最新的tools(看自己项目当前用的那个)。
删除之后重新更新Android SDK最新的build-tools。
更新完成之后在flutter run进行尝试。
- 赞
- 收藏
- 评论
- 分享
- 举报
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK