Follow the steps to configure, there is an error.
react-native: 0.60.4

I solved it.
The steps to update MainApplication.java are not required, you should delete the import.
Could you specify which import you deleted ?
You don't need to delete the import, you can add the splashscreen setting in react-native-config.js.
in your react-native.config.js add
module.exports = {
dependencies: {
'react-native-splash-screen': {
platforms: {
ios: null,
android: null,
},
},
}
}
Then check MainApplication.java. If there is any duplicate entry for rn splash screen remove it.
Not sure if this was already solved, but when I got that same error I solved it by removing the packages.add(new SplashScreenReactPackage()); from MainApplication.java
Hope this helps if there was yet no solution to this problem!
Most helpful comment
I solved it.
The steps to update MainApplication.java are not required, you should delete the import.