Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

打正式包失败 #73

Closed
SilentlyYc opened this issue Jan 17, 2022 · 5 comments
Closed

打正式包失败 #73

SilentlyYc opened this issue Jan 17, 2022 · 5 comments
Assignees

Comments

@SilentlyYc
Copy link

问题描述(必填)
正式包会提示缺失图片文件

使用的flutter_xupdate版本(必填)
2.0.2

如何重现(必填)
集成后无论是--release --verbose还是build apk,都会报缺失文件,但是开发不会

截图
错误信息
image

不知道是不是解决办法的解决办法是
image
我把这个注释了打包就没有问题了。更新貌似正常

flutter 2.8.1

@SilentlyYc SilentlyYc added the bug Something isn't working label Jan 17, 2022
@SilentlyYc
Copy link
Author

SilentlyYc commented Jan 17, 2022

但是我看github上这个文件没有包含我注释的代码,不知道是什么情况,我是用pub拉的

@SilentlyYc
Copy link
Author

莫名其妙的BUG,我清除Flutter SDK中的缓存,然后Flutter clean,作废缓存重启,重新拉的没有这段代码了,不清楚是什么原因。但是问题应该是解决了。问题关闭

@xuexiangjys xuexiangjys removed the bug Something isn't working label Jan 18, 2022
@xuexiangjys
Copy link
Owner

莫名其妙的BUG,我清除Flutter SDK中的缓存,然后Flutter clean,作废缓存重启,重新拉的没有这段代码了,不清楚是什么原因。但是问题应该是解决了。问题关闭

遇事不决,首先clean,这是好习惯

@SilentlyYc
Copy link
Author

莫名其妙的BUG,我清除Flutter SDK中的缓存,然后Flutter clean,作废缓存重启,重新拉的没有这段代码了,不清楚是什么原因。但是问题应该是解决了。问题关闭

遇事不决,首先clean,这是好习惯

主要这次我是删了SDK中的缓存,光clean是没作用的,顺便问一句,这个在原生项目配置style主题样式能不加么,想无感引入。不是专业安卓,不知道是否能实现,请教一下

@xuexiangjys
Copy link
Owner

其实是可以,换一下布局就行了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants