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.
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
}
}
2
Answers
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.
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