You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have same error :
"错误: 找不到符号
SplashScreen.show(this, getReactInstanceManager()); "
I have already add compile project(':rn-splash-screen') in build.gradle
F:\3kwcommunity\android\app\src\main\java\com\simpleapp\MainActivity.java:9: 错误: 程序包com.mehcode.reactnative.splashscreen不存在
import com.mehcode.reactnative.splashscreen.SplashScreen;
^
F:\3kwcommunity\android\app\src\main\java\com\simpleapp\MainActivity.java:43: 错误: 找不到符号
protected void onCreate(Bundle savedInstanceState) {
^
符号: 类 Bundle
位置: 类 MainActivity
F:\3kwcommunity\android\app\src\main\java\com\simpleapp\MainActivity.java:45: 错误: 找不到符号
SplashScreen.show(this, getReactInstanceManager());
^
符号: 变量 SplashScreen
位置: 类 MainActivity
3 个错误
:app:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':app:compileDebugJavaWithJavac'.
my computer system is window 10.
The text was updated successfully, but these errors were encountered: