react-native: [Master] - Cannot resolv ReactNativeHost & ReactApplication

Description

I’m waiting for a stable release with a PR that currently went into master: https://github.com/facebook/react-native/pull/12089 So Im currently using master. But there is an issue with android all of the sudden, it wont resolve these two classes in a completly newly initiated project:

import com.facebook.react.ReactApplication;
import com.facebook.react.ReactNativeHost;

So Im just trying to figure out what breaking changes is coming. Because when I try to fix up on it, my app won’t start with

E/ReactNative: Got JS Exception: ReferenceError: Can't find variable: __fbBatchedBridge

So what needs to be changed?

Reproduction

Initiate a new project, change the version to: git@github.com:facebook/react-native.git Resync the android project

Additional Information

  • React Native version: Master
  • Platform: Android
  • Operating System: MacOS

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 3
  • Comments: 15 (1 by maintainers)

Most upvoted comments