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

Null Safety projects can not compile: CUSTOMBUILD : error : Cannot run with sound null safety, because the following dependencies... #19

Open
longtimedeveloper opened this issue Feb 21, 2022 · 2 comments

Comments

@longtimedeveloper
Copy link

Do you have plans to update this splendid package to Sound Null Safety?

I have a Flutter v2.10.1 Windows desktop application that I'm trying to use aes_crypt in.

When I run the project, I get this compile error:

CUSTOMBUILD : error : Cannot run with sound null safety, because the following dependencies [[D:\Code\flutters\apps\cipher_text\build\windows\flutter\flutter_assemble.vcxproj]()]

[C:\Program]() Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: 
Custom build for '[D:\Code\flutters\apps\cipher_text\build\windows\CMakeFiles\28b7fc3e7c3090088060721c2e08b791\flutter_windows.dll.rule]();
[D:\Code\flutters\apps\cipher_text\build\windows\CMakeFiles\5ca9ed3df294d6b6de1a07c2fbdb5b3a\flutter_assemble.rule]()' exited with code 1. 
[[D:\Code\flutters\apps\cipher_text\build\windows\flutter\flutter_assemble.vcxproj]()]

Exception: Build process failed.

flutter doctor

>flutter doctor -v
[√] Flutter (Channel stable, 2.10.1, on Microsoft Windows [Version 10.0.19043.1526], locale en-US)
    • Flutter version 2.10.1 at D:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db747aa133 (12 days ago), 2022-02-09 13:57:35 -0600
    • Engine revision ab46186b24
    • Dart version 2.16.1
    • DevTools version 2.9.2

Thank you for your time and consideration. Karl

@longtimedeveloper
Copy link
Author

I'm using this PR #17

Please consider accepting this PR after you review it. Will save developers time.

Have a great day, Karl

@DamonChen117
Copy link

Thanks @longtimedeveloper

I'm using your branch.

  aes_crypt:
    git:
      url: https://github.com/3htsham/aes_crypt
      ref: null_safety

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