Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not find class after update to android sdk 22

05-16 10:26:18.267: E/dalvikvm(12692): Could not find class 'com.nostra13.universalimageloader.core.ImageLoaderConfiguration$Builder', referenced from method com.test.app.ApplicationRoot.onCreate
05-16 10:26:18.267: W/dalvikvm(12692): VFY: unable to resolve new-instance 555 (Lcom/nostra13/universalimageloader/core/ImageLoaderConfiguration$Builder;) in Lcom/test/app/ApplicationRoot;
05-16 10:26:18.267: D/dalvikvm(12692): VFY: replacing opcode 0x22 at 0x0005
05-16 10:26:18.267: D/dalvikvm(12692): DexOpt: unable to opt direct call 0x123f at 0x0b in Lcom/test/app/ApplicationRoot;.onCreate
05-16 10:26:18.267: D/AndroidRuntime(12692): Shutting down VM
05-16 10:26:18.267: W/dalvikvm(12692): threadid=1: thread exiting with uncaught exception (group=0x4168f2a0)
05-16 10:26:18.272: E/AndroidRuntime(12692): FATAL EXCEPTION: main
05-16 10:26:18.272: E/AndroidRuntime(12692): java.lang.NoClassDefFoundError: com.nostra13.universalimageloader.core.ImageLoaderConfiguration$Builder
05-16 10:26:18.272: E/AndroidRuntime(12692): at com.test.app.ApplicationRoot.onCreate(ApplicationRoot.java:16)
05-16 10:26:18.272: E/AndroidRuntime(12692): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1014)
05-16 10:26:18.272: E/AndroidRuntime(12692): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4251)
05-16 10:26:18.272: E/AndroidRuntime(12692): at android.app.ActivityThread.access$1400(ActivityThread.java:140)
05-16 10:26:18.272: E/AndroidRuntime(12692): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1297)
05-16 10:26:18.272: E/AndroidRuntime(12692): at android.os.Handler.dispatchMessage(Handler.java:99)
05-16 10:26:18.272: E/AndroidRuntime(12692): at android.os.Looper.loop(Looper.java:137)
05-16 10:26:18.272: E/AndroidRuntime(12692): at android.app.ActivityThread.main(ActivityThread.java:4921)
05-16 10:26:18.272: E/AndroidRuntime(12692): at java.lang.reflect.Method.invokeNative(Native Method)
05-16 10:26:18.272: E/AndroidRuntime(12692): at java.lang.reflect.Method.invoke(Method.java:511)
05-16 10:26:18.272: E/AndroidRuntime(12692): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
05-16 10:26:18.272: E/AndroidRuntime(12692): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
05-16 10:26:18.272: E/AndroidRuntime(12692): at dalvik.system.NativeStart.main(Native Method)

After updated to android sdk version 22 today and update to others sdk library as well, I got this error, it work correctly before the update Any ideas?

like image 488
Tse Ka Leong Avatar asked May 16 '13 03:05

Tse Ka Leong


1 Answers

I checked "Android Private Libraries" on my project only(did not touch the library project it references). It works.

like image 141
Cheb Avatar answered Nov 15 '22 05:11

Cheb