`/MainActivity.java:16: 错误: 找不到符号
protected void onCreate(Bundle savedInstanceState) {
^
符号: 类 Bundle
位置: 类 MainActivity
/home/littlestone/Documents/xingbang/android/app/src/main/java/com/xingbang/MainActivity.java:17: 错误: 找不到符号
SplashScreen.show(this,true);
^
符号: 变量 SplashScreen
位置: 类 MainActivity
2 个错误
:app:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
@Override
protected void onCreate(Bundle savedInstanceState) {
SplashScreen.show(this,true);
super.onCreate(savedInstanceState);
}
请问有什么解决办法?
I am having this issue as well, did you figure out how to fix it?
you should import android.os.Bundle, you can find this in example code.
Most helpful comment
you should import android.os.Bundle, you can find this in example code.