flutter - firebase_ui_localizations fails to generate localizations with error - Stack Overflow

I have added firebase_ui_localizations to my pubspec and created a firebase_ui_da.arb file for Dansih i

I have added firebase_ui_localizations to my pubspec and created a firebase_ui_da.arb file for Dansih in the l10n directory, but when I run:

dart run firebase_ui_localizations:gen_l10n

I get this error:

Unhandled exception:
PathNotFoundException: Cannot open file, path = '/Users/skn/code/app/../../header_template.txt' (OS Error: No such file or directory, errno = 2)
#0      _checkForErrorResponse (dart:io/common.dart:58:9)
#1      _File.open. (dart:io/file_impl.dart:441:7)

#2      _File.readAsBytes. (dart:io/file_impl.dart:648:24)

#3      _File.readAsString (dart:io/file_impl.dart:715:18)

#4      getLicenseHeader (file:///Users/skn/.pub-cache/hosted/pub.dev/firebase_ui_localizations-1.13.1/bin/gen_l10n.dart:174:20)

#5      main (file:///Users/skn/.pub-cache/hosted/pub.dev/firebase_ui_localizations-1.13.1/bin/gen_l10n.dart:44:25)

Any ideas?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744271922a4566142.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信