flutter
LoveNewsweetheart
这个作者很懒,什么都没留下…
展开
-
Flutter打包IOS出现了Error:CocoaPods‘s specs repository is too out-of-date to satisfy dependencies
Flutter打包apk没有问题。可正常打包。但是当打IOS包运行flutter build ios命令后出现了如下错误:Error:CocoaPods‘s specs repository is too out-of-date to satisfy dependenciesTo update the CocoaPods specs, run:pod repoupdateError running pod install执行了pod repo update也不行。..原创 2021-05-07 12:56:35 · 2798 阅读 · 1 评论 -
Flutter运行安卓设备出现的Duplicate class com.google.common.util.concurrent.ListenableFuture的错误
运行一个新的Flutter项目,在IOS设备上没有问题可以正常的跑起来。运行在安卓设备上就出现了如下错误* What went wrong: Execution failed for task ':app:checkDebugDuplicateClasses'. > 1 exception was raised by workers:原创 2020-10-16 14:28:01 · 4118 阅读 · 6 评论 -
Flutter 运行Flutter run 出现的问题,卡住了
1 运行Flutter项目 执行flutter run命令后卡住了,一直停留在Running Gradle task 'assembleDebug'...需要在,android项目下找到build.gradle文件。更改为阿里的镜像: repositories { maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repos.原创 2020-07-23 17:36:35 · 11471 阅读 · 2 评论 -
flutter 打包apk报错
按照官方文档签名等一些工作配置好了之后。开始使用flutter命令打包apk。在终端执行flutter build apk后等了一段时间后出现如下错误:FAILURE: Build failed with an exception.* What went wrong:Could not determine the dependencies of task ':app:lintVital...原创 2020-03-30 12:21:06 · 1566 阅读 · 1 评论