<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dependencies don&#039;t support null safety Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/dependencies-dont-support-null-safety/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/dependencies-dont-support-null-safety/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 22 May 2021 06:41:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>[SOLVED] Flutter : Cannot run with sound null safety, because the following dependencies don&#8217;t support null safety</title>
		<link>https://www.scmgalaxy.com/tutorials/flutter-cannot-run-with-sound-null-safety-because-the-following-dependencies-dont-support-null-safety/</link>
					<comments>https://www.scmgalaxy.com/tutorials/flutter-cannot-run-with-sound-null-safety-because-the-following-dependencies-dont-support-null-safety/#respond</comments>
		
		<dc:creator><![CDATA[Sushant K]]></dc:creator>
		<pubDate>Sat, 22 May 2021 06:38:54 +0000</pubDate>
				<category><![CDATA[Flutter]]></category>
		<category><![CDATA[Cannot run with sound null safety]]></category>
		<category><![CDATA[dart]]></category>
		<category><![CDATA[dependencies don&#039;t support null safety]]></category>
		<category><![CDATA[flutter]]></category>
		<category><![CDATA[flutter_recaptcha_v2]]></category>
		<category><![CDATA[Gradle task assembleDebug failed]]></category>
		<category><![CDATA[no-sound-null-safety]]></category>
		<category><![CDATA[sound null safety]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=6347</guid>

					<description><![CDATA[<p>Problem I&#8217;m using flutter_recaptcha_v2:&#160;^0.1.0. Now, I am trying to run it using&#160;flutter run, however, it will not start because of [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/flutter-cannot-run-with-sound-null-safety-because-the-following-dependencies-dont-support-null-safety/">[SOLVED] Flutter : Cannot run with sound null safety, because the following dependencies don&#8217;t support null safety</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="has-text-align-center wp-block-heading"><span class="has-inline-color has-vivid-red-color">Problem</span></h2>



<p class="wp-block-paragraph">I&#8217;m using <code>flutter_recaptcha_v2:&nbsp;^0.1.0.</code> Now, I am trying to run it using&nbsp;<code>flutter run</code>, however, it will not start because of the following error:</p>



<pre class="wp-block-code"><code><span class="has-inline-color has-vivid-red-color">Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

- package:flutter_recaptcha_v2
- package:webview_flutter
- package:http
- package:http_parser

For solutions, see https://dart.dev/go/unsound-null-safety
FAILURE: Build failed with an exception.

* Where:
Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1035

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
&gt; Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 21s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
</span></code></pre>



<h2 class="has-text-align-center wp-block-heading"><span class="has-inline-color has-vivid-red-color">Solution</span></h2>



<p class="wp-block-paragraph">If you want run your project with&nbsp;<code>--no-sound-null-safety</code>&nbsp;so now you add this line your&nbsp;<code>main.dart</code>&nbsp;file in top(first line) with comment..</p>



<p class="wp-block-paragraph"><code>// @dart=2.9</code></p>



<p class="wp-block-paragraph">then run your project.</p>



<p class="wp-block-paragraph">Thanks for reading.</p>



<p class="wp-block-paragraph">Keep Coding.</p>



<figure class="wp-block-image size-large is-resized"><img decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/Keep_coding.gif" alt="" class="wp-image-6350" width="75" height="75"/></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/flutter-cannot-run-with-sound-null-safety-because-the-following-dependencies-dont-support-null-safety/">[SOLVED] Flutter : Cannot run with sound null safety, because the following dependencies don&#8217;t support null safety</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/flutter-cannot-run-with-sound-null-safety-because-the-following-dependencies-dont-support-null-safety/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
