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

使用escompress2.0.3版本执行压缩壁纸包命令会报错 #3

Open
shirlay-Chang opened this issue Aug 25, 2021 · 1 comment
Open

Comments

@shirlay-Chang
Copy link

执行:escompress -e -a brotli -i"content.tar" -o"wallpaper.lwpak"
会出现以下错误,请问怎么解决呢?
Unhandled exception:
type 'Null' is not a subtype of type 'String' in type cast
#0 main (********本地路径名/.pub-cache/hosted/pub.flutter-io.cn/es_compression-2.0.3/bin/es_compress.dart:57:40)
#1 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:281:32)
#2 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)

@AugustToko
Copy link
Owner

escompress 在新版本中加了个 -l 等级参数,如果没传就会报错,可以试试
escompress -e -a brotli -l 3 -i"content.tar" -o"wallpaper.lwpak"
如果可以,更新一下apk

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