Closed OultimoCoder closed 1 year ago
I also just deleted the folder and reinstalled from template and got the same issue
Same issue here
if you want a walkaround solution: go to android > app > src > main > AndroidManifest.xml you will find 2 activites :
<activity
android:name=".SplashActivity"
android:theme="@style/SplashTheme"
android:label="@string/app_name"
android:exported="true"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<category android:name="android.intent.category.LAUNCHER" />
Your new code should look like:
<!-- <activity
android:name=".SplashActivity"
android:theme="@style/SplashTheme"
android:label="@string/app_name"
android:exported="true"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity> -->
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
react-native environment setup
Description
I followed the react native setup tutorial from the website and I installed this project as per the instructions. I have tried with a virtual environment and also my own android phone but every time no matter what I do, I get this error:
I have followed a bunch of guides and done various things like deleting the build folder, uninstalling all with gradle, wiping user data, checking package names match etc but I can't get it to work no matter what I try.
Version
latest
On which OS this issue appear on?
Desktop OS
Ubuntu 22.0.4