Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
at java.util.ArrayList.get(ArrayList.java:411)
at com.a.a.a.b.a(Logger.java:229)
at com.today.step.lib.e.a(Microlog4Android.java:23)
at com.today.step.lib.TodayStepService.onCreate(TodayStepService.java:113)
Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 0 at java.util.ArrayList.get(ArrayList.java:411) at com.a.a.a.b.a(Logger.java:229) at com.today.step.lib.e.a(Microlog4Android.java:23) at com.today.step.lib.TodayStepService.onCreate(TodayStepService.java:113)
代码混淆后,Microlog4Android类的这个configure方法出现数组越界。 public void configure(Context context){ if(null != logger) { PropertyConfigurator.getConfigurator(context).configure(); FileAppender appender = (FileAppender) logger.getAppender(1); appender.setAppend(true); logger.addAppender(appender); } }