I'm getting an exception like following:
07-26 10:17:25.991 I/dalvikvm(20751): Could not find method org.slf4j.LoggerFactory.getILoggerFactory, referenced from method com.app.androknife2.utils.L.init
07-26 10:17:25.991 W/dalvikvm(20751): VFY: unable to resolve static method 63525: Lorg/slf4j/LoggerFactory;.getILoggerFactory ()Lorg/slf4j/ILoggerFactory;
07-26 10:17:26.011 E/AndroidRuntime(20751): FATAL EXCEPTION: main
07-26 10:17:26.011 E/AndroidRuntime(20751): Process: com.app.gallery.premium, PID: 20751
07-26 10:17:26.011 E/AndroidRuntime(20751): java.lang.NoClassDefFoundError: org.slf4j.LoggerFactory
07-26 10:17:26.011 E/AndroidRuntime(20751): at com.app.androknife2.utils.L.d(L.java:165)
07-26 10:17:26.011 E/AndroidRuntime(20751): at com.app.androknife2.baseClasses.BaseApp$1.d(BaseApp.java:51)
...
The weird thing is, this app is in the play store as a beta app and is working for everyone, but one tester get's this exception, as soon as he start the app (the first log try fails with the above exception).
Any idea, what could be the root cause? The slf4j
library is packed into my code, so if I made something wrong proguarding it, it would fail on all devices as far as I understand that...
Any ideas, hints or similar?
It looks like you have reached the
65k method limit
.try adding this line:
on
AndroidManifest
insideapplication tag
Note that you can avoid this programatically also: Refer to Apps with Over 64K Methods for more details