Well, I decided to try out the Volley networking library for Android and the new Android Studio IDE at the same time.. However, I'm running into some problems.
I built volley.jar, copied it into my libs folder for a new project, edited build.gradle to include volley, and setup a static ImageLoader and RequestQueue in my main activity. However, when I load the app onto an emulator (4.2), I end up getting
E/AndroidRuntime: FATAL EXCEPTION: main java.lang.NoClassDefFoundError: com.android.volley.toolbox.Volley
when invoking Volley as follows:
queue = Volley.newRequestQueue(this);
Gradle edits to support the library:
dependencies { compile files('libs/android-support-v4.jar') compile files('libs/volley.jar') }
Anyone mind pointing me in the right direction?