I'm trying to integrate Volley into my app. It worked when I was just using RequestQueue, but now I want to inflate NetworkImageView and it's encountering a fatal runtime error on that. Partial stack trace:
02-10 10:00:00.457: E/AndroidRuntime(23345): android.view.InflateException: Binary XML file line #8: Error inflating class com.android.volley.NetworkImageView
02-10 12:38:26.425: E/AndroidRuntime(30910): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:713)
...
02-10 10:00:00.457: E/AndroidRuntime(23345): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.volley.NetworkImageView" on path: /data/app/com.myapp-2.apk
02-10 10:00:00.457: E/AndroidRuntime(23345): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:64)
I'm referencing the library the recommended way. Because of this, there is no specific entry for the lib in my Java Build Path, so this fix isn't really relevant. (And yes, Android Dependencies is checked for export.)
Any ideas on what could be the problem?
EDIT: here's my .classpath:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>