4

Problem building Android application: see above error(s).

 1 year ago
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).

精选 原创

天渺工作室 2023-01-27 16:48:37 博主文章分类:Flutter ©著作权

文章标签 flutter Android Sdk 文章分类 其它 前端开发 阅读数190

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进行尝试。

Problem building Android application: see above error(s)._flutter
  • 收藏
  • 评论
  • 分享
  • 举报

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK