Repository: react-native
Issue: Invariant Violation: "app" has not been registered  - AppRegistry.js | runnables[appKey] is undefined
Labels: API: AppRegistry,Needs: Triage :mag:

### Description

After upgrading to `0.69` and upgrading a lot of packages, I'm not able to build Android anymore.
With iOS, there is no problem but Android is impossible to build.
A simple `react-native run-android` launch the app on the phone, but the app won't appear. I only got this error :

```js
ExceptionsManager.js:149 Invariant Violation: "app" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called.
```

So, after some search, I found the `AppRegistry.js` file _(node_modules/eact-native/Librairies/ReactNative)_. There is a const named `runnables[appKey]`, and with iOS, this show me a lot of informations, but with Android, I only got `undefined`.

Someone has the same problem ?

### Version

0.69.0

### Output of `npx react-native info`

System:

> OS: macOS 12.6
> CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
> Memory: 116.24 MB / 16.00 GB
> Shell: 3.2.57 - /bin/bash

  Binaries:
> Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
> Yarn: 1.22.10 - /usr/local/bin/yarn
> npm: 6.14.17 - ~/Documents/myFiles/myProject/node_modules/.bin/npm
> Watchman: 4.9.0 - /usr/local/bin/watchman

Managers:
> CocoaPods: 1.11.3 - /usr/local/bin/pod

SDKs:
> iOS SDK:
>> Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3

> Android SDK:
>> Android NDK: 22.1.7171670

IDEs:
> Android Studio: 2022.1 AI-221.6008.13.2211.9514443
> Xcode: 13.2/13C90 - /usr/bin/xcodebuild

Languages:
> Java: 19.0.2 - /usr/bin/javac
> Python: Not Found

npmPackages:
> @react-native-community/cli: ^4.13.0 => 4.14.0 
> react: ^18.2.0 => 18.2.0 
> react-native: ^0.69.0 => 0.69.0 
> react-native-macos: Not Found

npmGlobalPackages:
> *react-native*: Not Found

### Steps to reproduce

Upgrade React-Native to `0.69`, and do `react-native run-android`.

### Snack, code example, screenshot, or link to a repository

The error is here :

```js
  runApplication(
    appKey: string,
    appParameters: any,
    displayMode?: number,
  ): void {
    if (appKey !== 'LogBox') {
      const logParams = __DEV__
        ? '" with ' + JSON.stringify(appParameters)
        : '';
      const msg = 'Running "' + appKey + logParams;
      infoLog(msg);
      BugReporting.addSource(
        'AppRegistry.runApplication' + runCount++,
        () => msg,
      );
    }
    invariant(
      runnables[appKey] && runnables[appKey].run,
      `"${appKey}" has not been registered. This can happen if:\n` +
        '* Metro (the local dev server) is run from the wrong folder. ' +
        'Check if Metro is running, stop it and restart it in the current project.\n' +
        "* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called.",
    );
    SceneTracker.setActiveScene({name: appKey});
    runnables[appKey].run(appParameters, displayMode);
  },
  ```