Hey there! I am having another issue simply building the app for Android with the bare workflow.
The build fails on task:
:app:compileDebugJavaWithJavac with this error inside our
error: no suitable method found for show(MainActivity,SplashScreenImageResizeMode,Class<ReactRootView>) SplashScreen.show(this, SplashScreenImageResizeMode.CONTAIN, ReactRootView.class);
However, dipping into the
expo.modules.splashscreen.SplashScreen module that is also imported in this file, it looks like there is a
show() method but it’s not getting referenced somehow for the
SplashScreen.show(this, SplashScreenImageResizeMode.CONTAIN, ReactRootView.class); line.
Removing this line completely in
MainActivity.java allows for a successful build. How can I get this working without removing that line completely as we need a SplashScreen for our app?
Any help would be greatly appreciated, thank you kindly.
Expo CLI 3.21.5 environment info:
OS: macOS 10.15.6
Shell: 5.7.1 - /bin/zsh
Node: 13.9.0 - ~/.nvm/versions/node/v13.9.0/bin/node
Yarn: 1.22.0 - /usr/local/bin/yarn
npm: 6.13.7 - ~/.nvm/versions/node/v13.9.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Android Studio: 4.1 AI-201.87220.127.116.1158069
Xcode: 12.0.1/12A7300 - /usr/bin/xcodebuild
expo: ^39.0.0 => 39.0.3
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: ~0.63.3 => 0.63.3
react-native-web: ~0.13.7 => 0.13.13
react-navigation: ^3.12.0 => 3.13.0