I’m getting crash reports for the following error on Android:
java.lang.NullPointerException:
at org.apache.cordova.splashscreen.SplashScreen$4.run (SplashScreen.java:230)
at android.app.Activity.runOnUiThread (Activity.java:6050)
at org.apache.cordova.splashscreen.SplashScreen.removeSplashScreen (SplashScreen.java:220)
at org.apache.cordova.splashscreen.SplashScreen.access$1000 (SplashScreen.java:50)
at org.apache.cordova.splashscreen.SplashScreen$5$1.run (SplashScreen.java:337)
at android.os.Handler.handleCallback (Handler.java:739)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:148)
at android.app.ActivityThread.main (ActivityThread.java:7331)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1120)
Here’s my ionic info:
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.19.0
ionic (Ionic CLI) : 3.19.0
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.1.2
Cordova Platforms : android 6.3.0 ios 4.5.4
Ionic Framework : ionic-angular 3.9.2
System:
ios-deploy : 1.9.2
Node : v8.4.0
npm : 5.5.1
OS : macOS High Sierra
Xcode : Xcode 9.0.1 Build version 9A1004
Environment Variables:
ANDROID_HOME : not set
Misc:
backend : pro