-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package is no find, #57
Comments
add this to dependencies of build.gradle |
I have same error : my MainActivity.java: import com.reactnativenavigation.controllers.SplashActivity; import android.graphics.Color; import com.facebook.react.ReactInstanceManager; public class MainActivity extends SplashActivity { @OverRide |
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: