skip to Main Content

I am getting the below error, please check the image.

enter image description here

2

Answers


  1. Well, I suppose you’ll have to provide a little more info. Because for the time being Is your AVM running? Because for the time being your Virtual device seems to fail with app you’re making.

    Login or Signup to reply.
  2. I guess the react-native error since Nov 4th, 2022.

    Learn more at
    https://github.com/facebook/react-native/issues/35210

    I think you should update the react-native version

    or

    add the below code in ‘android/buld.gradle’ file inside allprojects

    def REACT_NATIVE_VERSION = new File(['node', '--print',"JSON.parse(require('fs').readFileSync(require.resolve('react-native/package.json'), 'utf-8')).version"].execute(null, rootDir).text.trim())
    
    
    allprojects {
        configurations.all {
            resolutionStrategy {
                // Remove this override in 0.65+, as a proper fix is included in react-native itself.
                force "com.facebook.react:react-native:" + REACT_NATIVE_VERSION
            }
        }
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search