Nikolay
Nikolay

Reputation: 354

Using Universal ImageLoader

If I write this code:

ImageLoader imageLoader = ImageLoader.getInstance(); 

I get this error:

06-16 16:04:23.729: E/AndroidRuntime(13889): java.lang.NoClassDefFoundError: com.nostra13.universalimageloader.core.ImageLoader

I've added universal-image-loader-1.8.4.jar in lib and imported com.nostra13.universalimageloader.core.ImageLoader

How can I use the ImageLoader class?

Upvotes: 0

Views: 1032

Answers (1)

sromku
sromku

Reputation: 4683

You need to add the jar to the libs folder and not to the lib. If you add it manually to the lib folder, then go to:
-> Java Build Path -> Order and Export and there select the jar

Upvotes: 1

Related Questions