Problem building Android application: see above error(s).
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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进行尝试。
以上是关于Problem building Android application: see above error(s).的主要内容,如果未能解决你的问题,请参考以下文章
Flutter:gradle build failed with error "A problem occurred evaluation root project 'android' &g
「android」Ubuntu下android studio 编译报错A problem occurred starting process 'command '/Android/Sd
Android studio报错,Error:Gradle: A problem occurred configuring root project 'MyFuck'.