<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[React Native First App]]></title><description><![CDATA[React Native First App]]></description><link>https://react-native-first-app.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Sep 2026 14:36:21 GMT</lastBuildDate><atom:link href="https://react-native-first-app.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[React Native First App v0.76.]]></title><description><![CDATA[CASE 1: While creating your first react native app if you got an error or empty folder created, then this article will let you know how to resolve it.
Sometimes, While running your first init command to build application in react native it doesn’t cr...]]></description><link>https://react-native-first-app.hashnode.dev/react-native-first-app-v076</link><guid isPermaLink="true">https://react-native-first-app.hashnode.dev/react-native-first-app-v076</guid><dc:creator><![CDATA[Rashi Goel]]></dc:creator><pubDate>Thu, 03 Apr 2025 07:31:34 GMT</pubDate><content:encoded><![CDATA[<p><strong>CASE 1:</strong> While creating your first react native app if you got an error or empty folder created, then this article will let you know how to resolve it.</p>
<p>Sometimes, While running your first <strong>init</strong> command to build application in react native it doesn’t create the app or will create an empty folder with project name. In such case, you need to run the below command to get your project build with all the dependent files or folder.</p>
<h3 id="heading-solution">Solution:</h3>
<p><strong>npx @react-native-community/cli@latest init MyProject --version latest</strong></p>
<p>you can replace MyProject with your project name in above command.</p>
<p>And your project will get created with all the dependent files and folders.</p>
<p><strong>CASE 2:</strong> While project creation if you receive below error—</p>
<p>Error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. <em>What went wrong:</em> <a target="_blank" href="http://java.io"><em>java.io</em></a><em>.UncheckedIOException: Could not move temporary workspace (C:\Users\hp\Desktop\RashiApp1\android\.gradle\8.6\dependencies-accessors\423f0288fa7dffe069445ffa4b72952b4629a15a-bce99df7-ee7c-4b3b-bd9b-47f4b20ab8dc) to immutable location (C:\Users\hp\Desktop\RashiApp1\android\.gradle\8.6\dependencies-accessors\423f0288fa7dffe069445ffa4b72952b4629a15a) &gt; Could not move temporary workspace (C:\Users\hp\Desktop\RashiApp1\android\.gradle\8.6\dependencies-accessors\423f0288fa7dffe069445ffa4b72952b4629a15a-bce99df7-ee7c-4b3b-bd9b-47f4b20ab8dc) to immutable location (C:\Users\hp\Desktop\RashiApp1\android\.gradle\8.6\dependencies-accessors\423f0288fa7dffe069445ffa4b72952b4629a15a)</em> Try: &gt; Run with --stacktrace option to get the stack trace. &gt; Run with --info or --debug option to get more log output. &gt; Run with --scan to get full insights. &gt; Get more help at <a target="_blank" href="https://help.gradle.org">https://help.gradle.org</a>. BUILD FAILED in 5s.</p>
<h3 id="heading-solution-1"><strong>Solution:</strong></h3>
<p>If you got above error while running the app then it means gradle version that is being used by react native app is not compatible with android and java sdk and jdk.</p>
<p>So, Go to Project file-&gt; android-&gt;gradle-&gt;<a target="_blank" href="http://gradle-wrapper.properties">gradle-wrapper.properties</a> and change the gradle version to one previous that is mentioned in it. For ex- 8.6 to 8.5.</p>
<p>Save a change and run app again. The App will run successfully in your mobile device.</p>
<p><strong>Thankyou! Stay Tuned….</strong></p>
]]></content:encoded></item></channel></rss>