ImageSelector
ImageSelector copied to clipboard
com.yancy.imageselector.ImageConfig.getSteepToolBarColor()' on a null object reference
java.lang.RuntimeException:Unable to start activity ComponentInfo{cn.grass.meter/com.yancy.imageselector.ImageSelectorActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.yancy.imageselector.ImageConfig.getSteepToolBarColor()' on a null object reference
2 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2796) 3 ...... 4 Caused by: 5 java.lang.NullPointerException:Attempt to invoke virtual method 'int com.yancy.imageselector.ImageConfig.getSteepToolBarColor()' on a null object reference 6 com.yancy.imageselector.ImageSelectorActivity.onCreate(ImageSelectorActivity.java:43) 7 android.app.Activity.performCreate(Activity.java:6910) 8 android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123) 9 cn.jiguang.a.a.c.a.a.d.callActivityOnCreate(Unknown Source) 10 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2749) 11 android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2867) 12 android.app.ActivityThread.-wrap12(ActivityThread.java) 13 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1570) 14 android.os.Handler.dispatchMessage(Handler.java:105) 15 android.os.Looper.loop(Looper.java:156) 16 android.app.ActivityThread.main(ActivityThread.java:6595) 17 java.lang.reflect.Method.invoke(Native Method) 18 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942) 19 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
这个问题有没有解决呀