Discuz!NT|BBS|论坛

注册

 

发新话题 回复该主题

flutter打包大小优化 [复制链接]

1#
https://cloud.tencent.com/developer/article/1661684

https://www.colabug.com/2020/0611/7455891/

https://www.colabug.com/2020/0611/7455891/

https://my.oschina.net/u/4313515/blog/4187071/print









Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
https://blog.csdn.net/qq_16247851/article/details/88842094
AILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not create service of type AnnotationProcessorDetector using JavaGradleScopeServices.createAnnotationProcessorDetector().
删除目录下.gradle文件夹,然后clean,重新编译即可


注意,这里的.gradle文件夹是指当前app下android目录下的.gradle

          clean操作是指在当前app根目录下运行”flutter clean“命令

分享 转发
TOP
发新话题 回复该主题